Mock Version: 2.14 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/opensp.spec'], chrootPath='/var/lib/mock/centos-stream-8-aarch64-1637979825.509753/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1uevl__l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1uevl__l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1026245005f640d08591b5be88d97a69', '-D', '/var/lib/mock/centos-stream-8-aarch64-1637979825.509753/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1uevl__l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/opensp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/opensp-1.5.2-34.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/opensp.spec'], chrootPath='/var/lib/mock/centos-stream-8-aarch64-1637979825.509753/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1uevl__l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1uevl__l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f83a955ee12943f88a5e26057b6d158a', '-D', '/var/lib/mock/centos-stream-8-aarch64-1637979825.509753/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1uevl__l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/opensp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5esb2u + 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 . + echo 'Patch #0 (opensp-multilib.patch):' 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wn9oiu + umask 022 + cd /builddir/build/BUILD + cd OpenSP-1.5.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.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' + 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' + '[' 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=aarch64-redhat-linux-gnu --host=aarch64-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 aarch64-redhat-linux-gnu-gcc... no checking for 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 aarch64-redhat-linux-gnu-g++... no checking for aarch64-redhat-linux-gnu-c++... no checking for aarch64-redhat-linux-gnu-gpp... no checking for aarch64-redhat-linux-gnu-aCC... no checking for aarch64-redhat-linux-gnu-CC... no checking for aarch64-redhat-linux-gnu-cxx... no checking for aarch64-redhat-linux-gnu-cc++... no checking for aarch64-redhat-linux-gnu-cl... no checking for aarch64-redhat-linux-gnu-FCC... no checking for aarch64-redhat-linux-gnu-KCC... no checking for aarch64-redhat-linux-gnu-RCC... no checking for aarch64-redhat-linux-gnu-xlC_r... no checking for aarch64-redhat-linux-gnu-xlC... no checking for 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... aarch64-redhat-linux-gnu checking host system type... aarch64-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 aarch64-redhat-linux-gnu-g77... no checking for aarch64-redhat-linux-gnu-f77... no checking for aarch64-redhat-linux-gnu-xlf... no checking for aarch64-redhat-linux-gnu-frt... no checking for aarch64-redhat-linux-gnu-pgf77... no checking for aarch64-redhat-linux-gnu-fort77... no checking for aarch64-redhat-linux-gnu-fl32... no checking for aarch64-redhat-linux-gnu-af77... no checking for aarch64-redhat-linux-gnu-f90... no checking for aarch64-redhat-linux-gnu-xlf90... no checking for aarch64-redhat-linux-gnu-pgf90... no checking for aarch64-redhat-linux-gnu-epcf90... no checking for aarch64-redhat-linux-gnu-f95... no checking for aarch64-redhat-linux-gnu-fort... no checking for aarch64-redhat-linux-gnu-xlf95... no checking for aarch64-redhat-linux-gnu-ifc... no checking for aarch64-redhat-linux-gnu-efc... no checking for aarch64-redhat-linux-gnu-pgf95... no checking for aarch64-redhat-linux-gnu-lf95... no checking for aarch64-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for aarch64-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) 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 checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) 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) 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 aarch64-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 checking if the linker (/usr/bin/ld) 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 -j4 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Big5CodingSystem.lo Big5CodingSystem.cxx mkdir .libs mkdir .libs mkdir: cannot create directory '.libs': File exists g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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] unsigned blocksPerSegment_; ^~~~~~~~~~~~~~~~~ ../include/Allocator.h:55:10: warning: 'OpenSP::Allocator::Block* OpenSP::Allocator::freeList_' [-Wreorder] Block *freeList_; ^~~~~~~~~ Allocator.cxx:12:1: warning: when initialized here [-Wreorder] Allocator::Allocator(size_t maxSize, unsigned blocksPerSegment) ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Big5CodingSystem.cxx -fPIC -DPIC -o .libs/Big5CodingSystem.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CharsetDecl.lo CharsetDecl.cxx 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Attribute.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CharsetInfo.lo CharsetInfo.cxx 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] CopyOwner declaredValue_; ^~~~~~~~~~~~~~ ../include/Attribute.h:287:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeDefinition::implicit_' [-Wreorder] PackedBoolean implicit_; ^~~~~~~~~ Attribute.cxx:590:1: warning: when initialized here [-Wreorder] 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] if (&origName != NULL) ^ 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] Boolean anyCurrent_; ^~~~~~~~~~~ ../include/Attribute.h:380:10: warning: 'size_t OpenSP::AttributeDefinitionList::idIndex_' [-Wreorder] size_t idIndex_; // -1 if no ID attribute ^~~~~~~~ Attribute.cxx:883:1: warning: when initialized here [-Wreorder] 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] ConstPtr prev_; ^~~~~ ../include/Attribute.h:379:10: warning: 'size_t OpenSP::AttributeDefinitionList::index_' [-Wreorder] size_t index_; ^~~~~~ Attribute.cxx:895:1: warning: when initialized here [-Wreorder] AttributeDefinitionList:: AttributeDefinitionList(const ConstPtr &def) ^~~~~~~~~~~~~~~~~~~~~~~ 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] ConstPtr def_; ^~~~ ../include/Attribute.h:530:21: warning: 'OpenSP::Vector OpenSP::AttributeList::vec_' [-Wreorder] Vector vec_; ^~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] 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] Vector vec_; ^~~~ ../include/Attribute.h:529:10: warning: 'size_t OpenSP::AttributeList::nSpec_' [-Wreorder] size_t nSpec_; ^~~~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] 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] size_t nSpec_; ^~~~~~ ../include/Attribute.h:526:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeList::conref_' [-Wreorder] PackedBoolean conref_; ^~~~~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] AttributeList::AttributeList(const ConstPtr &def) ^~~~~~~~~~~~~ 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] size_t nSpec_; ^~~~~~ ../include/Attribute.h:526:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeList::conref_' [-Wreorder] PackedBoolean conref_; ^~~~~~~ Attribute.cxx:1185:1: warning: when initialized here [-Wreorder] AttributeList::AttributeList() ^~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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::Attribute]': ../include/Attribute.h:482:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:25: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:1181:31: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 class SP_API Attribute { ^~~~~~~~~ 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] 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 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:18: 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] 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 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:3: 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] 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 class SP_API Attribute { ^~~~~~~~~ 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:7: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ 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] 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 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:7: 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] 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 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:3: 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/ContentState.h:13, from ArcProcessor.h:8, from ArcEngine.cxx:11: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c CharsetDecl.cxx -fPIC -DPIC -o .libs/CharsetDecl.o 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c CharsetInfo.cxx -fPIC -DPIC -o .libs/CharsetInfo.o Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ Attribute.cxx: In member function 'void OpenSP::AttributeDefinition::setOrigName(OpenSP::StringC&)': Attribute.cxx:609:3: warning: nonnull argument 'origName' compared to NULL [-Wnonnull-compare] if (&origName != NULL) ^~ 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] const volatile sig_atomic_t *cancelPtr_; ^~~~~~~~~~ ArcEngine.cxx:130:21: warning: 'const OpenSP::SgmlParser* OpenSP::ArcEngineImpl::parser_' [-Wreorder] const SgmlParser *parser_; ^~~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] ArcEngineImpl::ArcEngineImpl(Messenger &mgr, ^~~~~~~~~~~~~ ArcEngine.cxx:130:21: warning: 'OpenSP::ArcEngineImpl::parser_' will be initialized after [-Wreorder] const SgmlParser *parser_; ^~~~~~~ ArcEngine.cxx:127:7: warning: 'int OpenSP::ArcEngineImpl::stage_' [-Wreorder] int stage_; ^~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] ArcEngineImpl::ArcEngineImpl(Messenger &mgr, ^~~~~~~~~~~~~ ArcEngine.cxx:139:11: warning: 'OpenSP::ArcEngineImpl::haveLinkProcess_' will be initialized after [-Wreorder] Boolean haveLinkProcess_; ^~~~~~~~~~~~~~~~ ArcEngine.cxx:135:13: warning: 'OpenSP::Allocator OpenSP::ArcEngineImpl::alloc_' [-Wreorder] Allocator alloc_; ^~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] ArcEngineImpl::ArcEngineImpl(Messenger &mgr, ^~~~~~~~~~~~~ ArcEngine.cxx:135:13: warning: 'OpenSP::ArcEngineImpl::alloc_' will be initialized after [-Wreorder] Allocator alloc_; ^~~~~~ ArcEngine.cxx:129:20: warning: 'OpenSP::NullEventHandler OpenSP::ArcEngineImpl::nullHandler_' [-Wreorder] NullEventHandler nullHandler_; ^~~~~~~~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] ArcEngineImpl::ArcEngineImpl(Messenger &mgr, ^~~~~~~~~~~~~ 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] EventHandler *docHandler_; ^~~~~~~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ ArcProcessor.h:197:11: warning: 'OpenSP::Boolean OpenSP::ArcProcessor::arcAuto_' [-Wreorder] Boolean arcAuto_; ^~~~~~~~ ArcEngine.cxx:645:1: warning: when initialized here [-Wreorder] ArcProcessor::ArcProcessor() ^~~~~~~~~~~~ In file included from ArcEngine.cxx:11: ArcProcessor.h:197:11: warning: 'OpenSP::ArcProcessor::arcAuto_' will be initialized after [-Wreorder] Boolean arcAuto_; ^~~~~~~~ ArcProcessor.h:196:11: warning: 'OpenSP::Boolean OpenSP::ArcProcessor::arcDtdIsParam_' [-Wreorder] Boolean arcDtdIsParam_; ^~~~~~~~~~~~~~ ArcEngine.cxx:645:1: warning: when initialized here [-Wreorder] ArcProcessor::ArcProcessor() ^~~~~~~~~~~~ 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] Type type_; ^~~~~ ../include/CharsetDecl.h:45:12: warning: 'OpenSP::WideChar OpenSP::CharsetDeclRange::baseMin_' [-Wreorder] WideChar baseMin_; ^~~~~~~~ CharsetDecl.cxx:25:1: warning: when initialized here [-Wreorder] CharsetDeclRange::CharsetDeclRange(WideChar descMin, Number count, ^~~~~~~~~~~~~~~~ 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] 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 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: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: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] 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 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] 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 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] 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 class SP_API CharsetDeclSection { ^~~~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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:31: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:1225:46: 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] 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 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 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] 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 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] 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 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] 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 class CopyOwner : public 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 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.cxx:29:3: 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] 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 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] 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 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] 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 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 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:46: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: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] 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 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CmdLineApp.lo CmdLineApp.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c CmdLineApp.cxx -fPIC -DPIC -o .libs/CmdLineApp.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] for (; i < n_; i++) ~~^~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CharsetRegistry.h:13, from 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] const CodingSystem *outputCodingSystem_; ^~~~~~~~~~~~~~~~~~~ CmdLineApp.cxx:81:23: warning: base 'OpenSP::MessageReporter' [-Wreorder] action_(normalAction) ^ CmdLineApp.cxx:75:1: warning: when initialized here [-Wreorder] 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] const CodingSystem *codingSystem_; ^~~~~~~~~~~~~ ../include/CmdLineApp.h:87:7: warning: 'int OpenSP::CmdLineApp::action_' [-Wreorder] int action_; ^~~~~~~ CmdLineApp.cxx:75:1: warning: when initialized here [-Wreorder] CmdLineApp::CmdLineApp(const char *requiredInternalCode) ^~~~~~~~~~ CmdLineApp.cxx: In member function 'virtual int OpenSP::CmdLineApp::init(int, OpenSP::CmdLineApp::AppChar**)': CmdLineApp.cxx:328:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SP_LOCALE_DIR); ^ CmdLineApp.cxx:328:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] CmdLineApp.cxx:331:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SP_LOCALE_DIR); ^ CmdLineApp.cxx:331:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] CmdLineApp.cxx: In member function 'int OpenSP::CmdLineApp::run(int, OpenSP::CmdLineApp::AppChar**)': CmdLineApp.cxx:365:6: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ 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] int argc_; ^~~~~ ../include/Options.h:40:13: warning: 'char* const* OpenSP::Options::argv_' [-Wreorder] 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] Options::Options(int argc, T *const *argv, const Vector > &l) ^~~~~~~~~~ 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] 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 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] 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 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] 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 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] 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 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:66: 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:25: 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] for (optInd_ = 0; optInd_ < opts_.size(); optInd_++) /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CodingSystem.lo CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c CodingSystem.cxx -fPIC -DPIC -o .libs/CodingSystem.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CodingSystemKit.lo CodingSystemKit.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c CodingSystemKit.cxx -fPIC -DPIC -o .libs/CodingSystemKit.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ CodingSystemKit.cxx: In constructor 'OpenSP::CodingSystemKitImpl::CodingSystemKitImpl(const OpenSP::TranslateCodingSystem::Desc*)': CodingSystemKit.cxx:129:38: warning: 'OpenSP::CodingSystemKitImpl::systemCharsetDesc_' will be initialized after [-Wreorder] const TranslateCodingSystem::Desc *systemCharsetDesc_; ^~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:103:19: warning: 'OpenSP::XMLCodingSystem OpenSP::CodingSystemKitImpl::xmlCodingSystem_' [-Wreorder] XMLCodingSystem xmlCodingSystem_; ^~~~~~~~~~~~~~~~ CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder] CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc) ^~~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:121:25: warning: 'OpenSP::CodingSystemKitImpl::koi8_rCodingSystem_' will be initialized after [-Wreorder] TranslateCodingSystem koi8_rCodingSystem_; ^~~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:107:25: warning: 'OpenSP::TranslateCodingSystem OpenSP::CodingSystemKitImpl::eucjpCodingSystem_' [-Wreorder] TranslateCodingSystem eucjpCodingSystem_; ^~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder] CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc) ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CodingSystemKit.h:15, from CodingSystemKit.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ConsoleOutput.lo ConsoleOutput.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ConsoleOutput.cxx -fPIC -DPIC -o .libs/ConsoleOutput.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ContentState.lo ContentState.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ContentState.cxx -fPIC -DPIC -o .libs/ContentState.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o DescriptorManager.lo DescriptorManager.cxx 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ContentToken.cxx -fPIC -DPIC -o .libs/ContentToken.o 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ContentState.cxx:10: ../include/IListIter.h: At global scope: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListIterBase::next; ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListIterBase::done; ^~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c DescriptorManager.cxx -fPIC -DPIC -o .libs/DescriptorManager.o 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] size_t size_; ^~~~~ 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] #define Vector NCVector ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 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 ../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] 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 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 ../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] 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 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] 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 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] 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 class SP_API Attribute { ^~~~~~~~~ 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private 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::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] 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 struct SP_API ContentModelAmbiguity { ^~~~~~~~~~~~~~~~~~~~~ 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:11: 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] 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 class SP_API OpenElementInfo { ^~~~~~~~~~~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ ../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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 class Ptr { ^~~ 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] IListIterBase::next; ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListIterBase::done; ^~~~~~~~~~~~~ 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:5: 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:51: 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] 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 class Ptr { ^~~ 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] int maxD_; ^~~~~ ../include/DescriptorManager.h:41:7: warning: 'int OpenSP::DescriptorManager::usedD_' [-Wreorder] int usedD_; ^~~~~~ DescriptorManager.cxx:47:1: warning: when initialized here [-Wreorder] DescriptorManager::DescriptorManager(int maxD) ^~~~~~~~~~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Dtd.lo Dtd.cxx 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] const ElementType *element_; ^~~~~~~~ ContentToken.cxx:116:28: warning: base 'OpenSP::ContentToken' [-Wreorder] requiredIndex_(size_t(-1)) ^ ContentToken.cxx:113:1: warning: when initialized here [-Wreorder] 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] Vector nextTypeIndex; ^~~~~~~~~~~~~ ContentToken.cxx:179:12: warning: 'unsigned int OpenSP::GroupInfo::nextLeafIndex' [-Wreorder] unsigned nextLeafIndex; ^~~~~~~~~~~~~ ContentToken.cxx:187:1: warning: when initialized here [-Wreorder] GroupInfo::GroupInfo(size_t nType) ^~~~~~~~~ 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] Vector v_; ^~ ../include/ContentToken.h:345:12: warning: 'unsigned int OpenSP::AndState::clearFrom_' [-Wreorder] unsigned clearFrom_; ^~~~~~~~~~ ContentToken.cxx:581:1: warning: when initialized here [-Wreorder] AndState::AndState(unsigned n) ^~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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:79: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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:40: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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] 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 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] 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 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] 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 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] 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 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::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] 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 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:18: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ 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] 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 class SP_API Text { ^~~~ 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:45: 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] 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 struct SP_API ContentModelAmbiguity { ^~~~~~~~~~~~~~~~~~~~~ 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] 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 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] 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 class SP_API LastSet : public Vector { ^~~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 class Ptr { ^~~ 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:5: 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:51: 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] 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 class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Dtd.cxx -fPIC -DPIC -o .libs/Dtd.o In file included from ../include/NamedResourceTable.h:11, from ../include/Dtd.h:11, from Dtd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 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] 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 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 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] 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 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o DtdDeclEventHandler.lo DtdDeclEventHandler.cxx 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 struct SP_API Transition { ^~~~~~~~~~ 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] 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 class SP_API CharsetDeclRange { ^~~~~~~~~~~~~~~~ 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:18: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ 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] 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 class 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:30: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = int; OpenSP::Boolean = bool]' Dtd.cxx:40:52: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c DtdDeclEventHandler.cxx -fPIC -DPIC -o .libs/DtdDeclEventHandler.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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 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] 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 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] 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 class SP_API Attribute { ^~~~~~~~~ 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EUCJPCodingSystem.lo EUCJPCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c EUCJPCodingSystem.cxx -fPIC -DPIC -o .libs/EUCJPCodingSystem.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ElementType.lo ElementType.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Entity.lo Entity.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityApp.lo EntityApp.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ElementType.cxx -fPIC -DPIC -o .libs/ElementType.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Entity.cxx -fPIC -DPIC -o .libs/Entity.o In file included from ../include/Location.h:12, from ../include/ElementType.h:14, from ElementType.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c EntityApp.cxx -fPIC -DPIC -o .libs/EntityApp.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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] const ShortReferenceMap *map_; ^~~~ ../include/ElementType.h:122:10: warning: 'size_t OpenSP::ElementType::defIndex_' [-Wreorder] size_t defIndex_; // index in the group having same definition ^~~~~~~~~ ElementType.cxx:16:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 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] 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 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] IListIterBase::next; ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 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] 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 class String { ^~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 class Owner { ^~~~~ 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] 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 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] 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 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:3: 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] 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 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] 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 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:3: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityCatalog.lo EntityCatalog.cxx In file included from ../include/Entity.h:15, from Entity.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c EntityCatalog.cxx -fPIC -DPIC -o .libs/EntityCatalog.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityDecl.lo EntityDecl.cxx 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityManager.lo EntityManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c EntityDecl.cxx -fPIC -DPIC -o .libs/EntityDecl.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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] Location defLocation_; ^~~~~~~~~~~~ ../include/EntityDecl.h:48:17: warning: 'OpenSP::PackedBoolean OpenSP::EntityDecl::dtdIsBase_' [-Wreorder] PackedBoolean dtdIsBase_; ^~~~~~~~~~ EntityDecl.cxx:14:1: warning: when initialized here [-Wreorder] EntityDecl::EntityDecl(const StringC &str, DeclType declType, DataType dataType, ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c EntityManager.cxx -fPIC -DPIC -o .libs/EntityManager.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ErrnoMessageArg.lo ErrnoMessageArg.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ErrorCountEventHandler.lo ErrorCountEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 ../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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Event.lo Event.cxx 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Event.cxx -fPIC -DPIC -o .libs/Event.o 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] unsigned errorCount_; ^~~~~~~~~~~ ../include/ErrorCountEventHandler.h:29:12: warning: 'unsigned int OpenSP::ErrorCountEventHandler::maxErrors_' [-Wreorder] unsigned maxErrors_; ^~~~~~~~~~ ErrorCountEventHandler.cxx:14:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 class String { ^~~~~~ 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] 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 class SP_API Attribute { ^~~~~~~~~ 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EventGenerator.lo EventGenerator.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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] Location location_; ^~~~~~~~~ Event.cxx:22:34: warning: base 'OpenSP::Event' [-Wreorder] : location_(location), Event(type) ^ Event.cxx:21:1: warning: when initialized here [-Wreorder] 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] size_t length_; ^~~~~~~ Event.cxx:111:53: warning: base 'OpenSP::LocatedEvent' [-Wreorder] : p_(p),length_(length), LocatedEvent(type, location) ^ Event.cxx:109:1: warning: when initialized here [-Wreorder] DataEvent::DataEvent(Type type, const Char *p, size_t length, ^~~~~~~~~ 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] size_t dataLength_; ^~~~~~~~~~~ Event.cxx:203:66: warning: base 'OpenSP::LocatedEvent' [-Wreorder] : data_(data), dataLength_(dataLength), LocatedEvent(pi, location) ^ Event.cxx:202:1: warning: when initialized here [-Wreorder] 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] ConstPtr origin_; ^~~~~~~ Event.cxx:232:30: warning: base 'OpenSP::Event' [-Wreorder] : origin_(origin), Event(type) ^ Event.cxx:230:1: warning: when initialized here [-Wreorder] 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] const ExternalDataEntity *dataEntity_; ^~~~~~~~~~~ Event.cxx:238:70: warning: base 'OpenSP::ExternalEntityEvent' [-Wreorder] : dataEntity_(entity), ExternalEntityEvent(externalDataEntity, origin) ^ Event.cxx:236:1: warning: when initialized here [-Wreorder] 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] const SubdocEntity *subdocEntity_; ^~~~~~~~~~~~~ Event.cxx:244:66: warning: base 'OpenSP::ExternalEntityEvent' [-Wreorder] : subdocEntity_(entity), ExternalEntityEvent(subdocEntity, origin) ^ Event.cxx:242:1: warning: when initialized here [-Wreorder] SubdocEntityEvent::SubdocEntityEvent(const SubdocEntity *entity, ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c EventGenerator.cxx -fPIC -DPIC -o .libs/EventGenerator.o 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] const ShortReferenceMap *map_; ^~~~ ../include/Event.h:379:17: warning: 'OpenSP::ConstPtr OpenSP::UsemapEvent::dtd_' [-Wreorder] ConstPtr dtd_; ^~~~ Event.cxx:275:1: warning: when initialized here [-Wreorder] 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] Boolean hasInternalSubset_; ^~~~~~~~~~~~~~~~~~ Event.cxx:294:32: warning: base 'OpenSP::MarkupEvent' [-Wreorder] MarkupEvent(type, loc, markup) ^ Event.cxx:287:1: warning: when initialized here [-Wreorder] 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] Index nextIndex_; ^~~~~~~~~~ Event.cxx:353:38: warning: base 'OpenSP::MarkupEvent' [-Wreorder] nextIndex_(0), MarkupEvent(sgmlDecl) ^ Event.cxx:349:1: warning: when initialized here [-Wreorder] 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] StringC implySystemId_; ^~~~~~~~~~~~~~ Event.cxx:369:36: warning: base 'OpenSP::MarkupEvent' [-Wreorder] MarkupEvent(sgmlDecl, loc, markup) ^ Event.cxx:357:1: warning: when initialized here [-Wreorder] 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] Char c_; ^~ ../include/Event.h:557:17: warning: 'long unsigned int OpenSP::IgnoredReEvent::serial_' [-Wreorder] unsigned long serial_; ^~~~~~~ Event.cxx:390:1: warning: when initialized here [-Wreorder] 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] Char c_; ^~ ../include/Event.h:580:17: warning: 'long unsigned int OpenSP::ReOriginEvent::serial_' [-Wreorder] unsigned long serial_; ^~~~~~~ Event.cxx:398:1: warning: when initialized here [-Wreorder] 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] ConstPtr entity_; ^~~~~~~ ../include/Event.h:656:11: warning: 'OpenSP::Boolean OpenSP::EntityDeclEvent::ignored_' [-Wreorder] Boolean ignored_; ^~~~~~~~ Event.cxx:443:1: warning: when initialized here [-Wreorder] 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] ConstPtr lpd_; ^~~~ ../include/Event.h:746:18: warning: 'const OpenSP::LinkSet* OpenSP::LinkDeclEvent::linkSet_' [-Wreorder] const LinkSet *linkSet_; ^~~~~~~~ Event.cxx:495:1: warning: when initialized here [-Wreorder] LinkDeclEvent::LinkDeclEvent(const LinkSet *linkSet, ^~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ExtendEntityManager.lo ExtendEntityManager.cxx 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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::CopyOwner]': ../include/Message.h:165:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ExternalId.lo ExternalId.cxx ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private 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:3: 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] 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 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 '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] 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 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:3: 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] 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 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] 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 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:3: 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] 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 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] 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 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] 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 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Fixed2CodingSystem.lo Fixed2CodingSystem.cxx ../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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ExtendEntityManager.cxx -fPIC -DPIC -o .libs/ExtendEntityManager.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ExternalId.cxx -fPIC -DPIC -o .libs/ExternalId.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Fixed2CodingSystem.cxx -fPIC -DPIC -o .libs/Fixed2CodingSystem.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] ConstPtr codingSystemKit_; ^~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:115:11: warning: 'OpenSP::Boolean OpenSP::EntityManagerImpl::internalCharsetIsDocCharset_' [-Wreorder] Boolean internalCharsetIsDocCharset_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:291:1: warning: when initialized here [-Wreorder] EntityManagerImpl::EntityManagerImpl(StorageManager *defaultStorageManager, ^~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o GenericEventHandler.lo GenericEventHandler.cxx ExtendEntityManager.cxx: In constructor 'OpenSP::UnbufferingStorageObject::UnbufferingStorageObject(OpenSP::StorageObject*, const Boolean*)': ExtendEntityManager.cxx:535:9: warning: 'OpenSP::UnbufferingStorageObject::buf_' will be initialized after [-Wreorder] char *buf_; ^~~~ ExtendEntityManager.cxx:533:10: warning: 'size_t OpenSP::UnbufferingStorageObject::bufAvail_' [-Wreorder] size_t bufAvail_; ^~~~~~~~~ ExtendEntityManager.cxx:505:3: warning: when initialized here [-Wreorder] 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] Boolean mayNotExist_; ^~~~~~~~~~~~ ExtendEntityManager.cxx:180:35: warning: 'OpenSP::NCVector > OpenSP::ExternalInputSource::sov_' [-Wreorder] NCVector > sov_; ^~~~ ExtendEntityManager.cxx:576:1: warning: when initialized here [-Wreorder] ExternalInputSource::ExternalInputSource(ParsedSystemId &parsedSysid, ^~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:200:11: warning: 'OpenSP::ExternalInputSource::internalCharsetIsDocCharset_' will be initialized after [-Wreorder] Boolean internalCharsetIsDocCharset_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:188:11: warning: 'OpenSP::Boolean OpenSP::ExternalInputSource::maySetDocCharset_' [-Wreorder] Boolean maySetDocCharset_; ^~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:576:1: warning: when initialized here [-Wreorder] ExternalInputSource::ExternalInputSource(ParsedSystemId &parsedSysid, ^~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::ExternalInfoImpl::ExternalInfoImpl(OpenSP::ParsedSystemId&)': ExtendEntityManager.cxx:137:10: warning: 'OpenSP::ExternalInfoImpl::currentIndex_' will be initialized after [-Wreorder] size_t currentIndex_; ^~~~~~~~~~~~~ ExtendEntityManager.cxx:136:35: warning: 'OpenSP::NCVector OpenSP::ExternalInfoImpl::position_' [-Wreorder] NCVector position_; ^~~~~~~~~ ExtendEntityManager.cxx:1102:1: warning: when initialized here [-Wreorder] 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] const InputCodingSystem *codingSystem; ^~~~~~~~~~~~ ../include/ExtendEntityManager.h:35:15: warning: 'const char* OpenSP::StorageObjectSpec::codingSystemName' [-Wreorder] const char *codingSystemName; ^~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:1234:1: warning: when initialized here [-Wreorder] StorageObjectSpec::StorageObjectSpec() ^~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:9: ../include/ExtendEntityManager.h:47:17: warning: 'OpenSP::StorageObjectSpec::notrack' will be initialized after [-Wreorder] PackedBoolean notrack; ^~~~~~~ ../include/ExtendEntityManager.h:46:11: warning: 'OpenSP::StorageObjectSpec::Records OpenSP::StorageObjectSpec::records' [-Wreorder] Records records; ^~~~~~~ ExtendEntityManager.cxx:1234:1: warning: when initialized here [-Wreorder] 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] Offset endOffset; ^~~~~~~~~ StorageObjectPosition.h:21:10: warning: 'size_t OpenSP::StorageObjectPosition::line1RS' [-Wreorder] size_t line1RS; ^~~~~~~ ExtendEntityManager.cxx:1275:1: warning: when initialized here [-Wreorder] 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] Boolean isNdata_; ^~~~~~~~ ExtendEntityManager.cxx:241:28: warning: 'const OpenSP::StorageObjectSpec* OpenSP::FSIParser::defSpec_' [-Wreorder] const StorageObjectSpec *defSpec_; ^~~~~~~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] FSIParser::FSIParser(const StringC &str, ^~~~~~~~~ ExtendEntityManager.cxx:242:18: warning: 'OpenSP::FSIParser::defId_' will be initialized after [-Wreorder] const StringC *defId_; ^~~~~~ ExtendEntityManager.cxx:240:28: warning: 'const OpenSP::EntityManagerImpl* OpenSP::FSIParser::em_' [-Wreorder] const EntityManagerImpl *em_; ^~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] FSIParser::FSIParser(const StringC &str, ^~~~~~~~~ ExtendEntityManager.cxx:240:28: warning: 'OpenSP::FSIParser::em_' will be initialized after [-Wreorder] const EntityManagerImpl *em_; ^~~ ExtendEntityManager.cxx:239:14: warning: 'OpenSP::Messenger& OpenSP::FSIParser::mgr_' [-Wreorder] Messenger &mgr_; ^~~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] 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] return ch == idCharset_.execToDesc(execC); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] if (c == lit) ~~^~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:61: 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] 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 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:590:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::NCVector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from OffsetOrderedList.h:9, from ExtendEntityManager.cxx:12: ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] #define Vector NCVector ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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:49: required from here ../include/Vector.h:66:6: warning: 'OpenSP::NCVector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from OffsetOrderedList.h:9, from ExtendEntityManager.cxx:12: ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] #define Vector NCVector ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 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] 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 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:56: 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] 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 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:590: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::Owner' with no trivial copy-assignment [-Wclass-memaccess] 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 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:3: 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] 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 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] 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 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:3: 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] 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 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:49: 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] 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 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] 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 class Owner { ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c GenericEventHandler.cxx -fPIC -DPIC -o .libs/GenericEventHandler.o ExternalId.cxx: In member function 'OpenSP::Boolean OpenSP::PublicId::initUrn(const StringC&, const OpenSP::CharsetInfo&, OpenSP::Char, const OpenSP::MessageType1*&)': ExternalId.cxx:175:40: warning: 'apos' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == bang) && !(c == star) && !(c == apos)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:175:24: warning: 'star' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == bang) && !(c == star) && !(c == apos)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:175:8: warning: 'bang' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == bang) && !(c == star) && !(c == apos)) { ^~~~~~~~~~~~~~~ ExternalId.cxx:174:61: warning: 'uline' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:174:43: warning: 'dollar' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:174:22: warning: 'semicolon' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ExternalId.cxx:174:8: warning: 'at' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) ^~~~~~~~~~~~~ ExternalId.cxx:173:60: warning: 'equal' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:173:43: warning: 'colon' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:173:25: warning: 'period' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:118:7: warning: 'minus' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!charset.descToUniv(fieldStart[i], c) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ((!(c == minus) || i == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10))) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExternalId.cxx:172:60: warning: 'comma' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:172:44: warning: 'plus' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:172:26: warning: 'rparen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:172:8: warning: 'lparen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) ^~~~~~~~~~~~~~~~~ ExternalId.cxx:143:5: warning: 'percent' may be used uninitialized in this function [-Wmaybe-uninitialized] if (c == percent) { ^~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Group.lo Group.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] SGMLApplication *app_; ^~~~ ../include/GenericEventHandler.h:76:8: warning: 'bool OpenSP::GenericEventHandler::generalEntities_' [-Wreorder] bool generalEntities_; ^~~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 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] bool generalEntities_; ^~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:74:10: warning: 'OpenSP::GenericEventHandler::Block* OpenSP::GenericEventHandler::freeBlocks_' [-Wreorder] Block *freeBlocks_; ^~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 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] Block *allocBlocks_; ^~~~~~~~~~~~ ../include/GenericEventHandler.h:73:10: warning: 'size_t OpenSP::GenericEventHandler::firstBlockSpare_' [-Wreorder] size_t firstBlockSpare_; ^~~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 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] size_t firstBlockSpare_; ^~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:72:10: warning: 'size_t OpenSP::GenericEventHandler::firstBlockUsed_' [-Wreorder] size_t firstBlockUsed_; ^~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] GenericEventHandler::GenericEventHandler(SGMLApplication &app, ^~~~~~~~~~~~~~~~~~~ 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] MessageReporter *reporter_; ^~~~~~~~~ ../include/GenericEventHandler.h:105:15: warning: 'const bool* OpenSP::MsgGenericEventHandler::messagesInhibitedPtr_' [-Wreorder] const bool *messagesInhibitedPtr_; ^~~~~~~~~~~~~~~~~~~~~ GenericEventHandler.cxx:743:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 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] 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 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] 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 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] 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/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 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:18: 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] 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 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 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::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] 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 class SP_API AttributeList { ^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Group.cxx -fPIC -DPIC -o .libs/Group.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 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] 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 class SP_API Text { ^~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Hash.lo Hash.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Hash.cxx -fPIC -DPIC -o .libs/Hash.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o IListBase.lo IListBase.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Id.lo Id.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c IListBase.cxx -fPIC -DPIC -o .libs/IListBase.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Id.cxx -fPIC -DPIC -o .libs/Id.o In file included from ../include/Location.h:12, from Id.h:12, from Id.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o IdentityCodingSystem.lo IdentityCodingSystem.cxx 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] 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 class SP_API Location { ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o InputSource.lo InputSource.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c IdentityCodingSystem.cxx -fPIC -DPIC -o .libs/IdentityCodingSystem.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o InternalInputSource.lo InternalInputSource.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c InputSource.cxx -fPIC -DPIC -o .libs/InputSource.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] Ptr origin_; ^~~~~~~ ../include/InputSource.h:79:15: warning: 'const Char* OpenSP::InputSource::start_' [-Wreorder] const Char *start_; ^~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 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] const Char *end_; ^~~~ ../include/InputSource.h:78:15: warning: 'const Char* OpenSP::InputSource::cur_' [-Wreorder] const Char *cur_; ^~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 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] Boolean accessError_; ^~~~~~~~~~~~ ../include/InputSource.h:81:12: warning: 'OpenSP::Location OpenSP::InputSource::startLocation_' [-Wreorder] Location startLocation_; ^~~~~~~~~~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 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] Boolean multicode_; ^~~~~~~~~~ ../include/InputSource.h:84:11: warning: 'OpenSP::Boolean OpenSP::InputSource::scanSuppress_' [-Wreorder] Boolean scanSuppress_; ^~~~~~~~~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] InputSource::InputSource(InputSourceOrigin *origin, const Char *start, ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c InternalInputSource.cxx -fPIC -DPIC -o .libs/InternalInputSource.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Link.lo Link.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o LinkProcess.lo LinkProcess.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o LiteralStorage.lo LiteralStorage.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Location.lo Location.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c LinkProcess.cxx -fPIC -DPIC -o .libs/LinkProcess.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c LiteralStorage.cxx -fPIC -DPIC -o .libs/LiteralStorage.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Location.cxx -fPIC -DPIC -o .libs/Location.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] Location loc_; ^~~~ ../include/Location.h:151:12: warning: 'OpenSP::BracketOrigin::Position OpenSP::BracketOrigin::pos_' [-Wreorder] Position pos_; ^~~~ Location.cxx:183:1: warning: when initialized here [-Wreorder] BracketOrigin::BracketOrigin(const Location &loc, Position pos) ^~~~~~~~~~~~~ Location.cxx: In constructor 'OpenSP::EntityOriginImpl::EntityOriginImpl(const OpenSP::ConstPtr&)': Location.cxx:75:9: warning: 'OpenSP::EntityOriginImpl::refLength_' will be initialized after [-Wreorder] Index refLength_; ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] ConstPtr entity_; // 0 for document entity ^~~~~~~ Location.cxx:361:1: warning: when initialized here [-Wreorder] EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity) ^~~~~~~~~~~~~~~~ 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] Index refLength_; ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] ConstPtr entity_; // 0 for document entity ^~~~~~~ Location.cxx:366:1: warning: when initialized here [-Wreorder] 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] Index refLength_; ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] ConstPtr entity_; // 0 for document entity ^~~~~~~ Location.cxx:372:1: warning: when initialized here [-Wreorder] EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity, ^~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Lpd.lo Lpd.cxx 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 class SP_API Attribute { ^~~~~~~~~ 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] 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 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:18: 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] 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 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:3: 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] 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 struct SP_API MarkupItem { ^~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 struct SP_API Transition { ^~~~~~~~~~ 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private 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::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] 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 class ConstPtr : private Ptr { ^~~~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Lpd.cxx -fPIC -DPIC -o .libs/Lpd.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Markup.lo Markup.cxx 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] ConstPtr > name_; ^~~~~ ../include/Lpd.h:51:8: warning: 'OpenSP::Lpd::Type OpenSP::Lpd::type_' [-Wreorder] Type type_; ^~~~~ Lpd.cxx:14:1: warning: when initialized here [-Wreorder] Lpd::Lpd(const StringC &name, Type type, const Location &location, ^~~ 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] size_t nAttributeDefinitionList_; ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Lpd.h:187:11: warning: 'OpenSP::LinkSet OpenSP::ComplexLpd::initialLinkSet_' [-Wreorder] LinkSet initialLinkSet_; ^~~~~~~~~~~~~~~ Lpd.cxx:149:1: warning: when initialized here [-Wreorder] 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] LinkSet emptyLinkSet_; ^~~~~~~~~~~~~ ../include/Lpd.h:185:46: warning: 'OpenSP::Vector > OpenSP::ComplexLpd::linkAttributeDefs_' [-Wreorder] Vector > linkAttributeDefs_; ^~~~~~~~~~~~~~~~~~ Lpd.cxx:149:1: warning: when initialized here [-Wreorder] ComplexLpd::ComplexLpd(const StringC &name, Type type, ^~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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::Vector >; size_t = long unsigned int]': Lpd.cxx:77:74: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector > >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector > >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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:77: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 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:74: 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] 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 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] 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 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:7: 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] 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 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] 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 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:77: 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 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:5: 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:74: 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Message.lo Message.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Markup.cxx -fPIC -DPIC -o .libs/Markup.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageArg.lo MessageArg.cxx 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Message.cxx -fPIC -DPIC -o .libs/Message.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageArg.cxx -fPIC -DPIC -o .libs/MessageArg.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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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::TextItem]': ../include/Text.h:55:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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:18: 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] 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 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] 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 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] 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 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] 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 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:3: 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] 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 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] 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 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 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:29:3: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*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 struct SP_API SdTextItem { ^~~~~~~~~~ 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] const char *text_; ^~~~~ ../include/Message.h:46:18: warning: 'short unsigned int OpenSP::MessageFragment::number_' [-Wreorder] unsigned short number_; ^~~~~~~ Message.cxx:16:1: warning: when initialized here [-Wreorder] 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] const char *auxText_; ^~~~~~~~ Message.cxx:46:39: warning: base 'OpenSP::MessageFragment' [-Wreorder] MessageFragment(module, number, text) ^ Message.cxx:31:1: warning: when initialized here [-Wreorder] MessageType::MessageType(Severity severity, const MessageModule *module, unsigned number, ^~~~~~~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:13: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 class SP_API OpenElementInfo { ^~~~~~~~~~~~~~~ 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:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:3: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' MessageArg.cxx:82: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] 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 class String { ^~~~~~ 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: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::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 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 class String { ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageEventHandler.lo MessageEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageEventHandler.cxx -fPIC -DPIC -o .libs/MessageEventHandler.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageFormatter.lo MessageFormatter.cxx 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageReporter.lo MessageReporter.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageFormatter.cxx -fPIC -DPIC -o .libs/MessageFormatter.o 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageTable.lo MessageTable.cxx 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageReporter.cxx -fPIC -DPIC -o .libs/MessageReporter.o In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from MessageReporter.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageTable.cxx -fPIC -DPIC -o .libs/MessageTable.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ MessageReporter.cxx: In constructor 'OpenSP::XMLMessageReporter::XMLMessageReporter(OpenSP::OutputCharStream*)': MessageReporter.cxx:31:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o NotationStorage.lo NotationStorage.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Notation.cxx -fPIC -DPIC -o .libs/Notation.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c NotationStorage.cxx -fPIC -DPIC -o .libs/NotationStorage.o 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 class SP_API CharsetDeclRange { ^~~~~~~~~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OffsetOrderedList.lo OffsetOrderedList.cxx 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 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: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: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] 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 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 class 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 '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:5: 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:51: 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] 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 class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c NumericCharRefOrigin.cxx -fPIC -DPIC -o .libs/NumericCharRefOrigin.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OpenElement.lo OpenElement.cxx 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] Ptr::isNull; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c OffsetOrderedList.cxx -fPIC -DPIC -o .libs/OffsetOrderedList.o ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:51, from OffsetOrderedList.h:9, from OffsetOrderedList.cxx:5: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 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] 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 class Owner { ^~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 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:18: 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] 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 struct SP_API MarkupItem { ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputByteStream.lo OutputByteStream.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputCharStream.lo OutputCharStream.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c OpenElement.cxx -fPIC -DPIC -o .libs/OpenElement.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputState.lo OutputState.cxx 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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] Location startLocation_; ^~~~~~~~~~~~~~ ../include/OpenElement.h:64:38: warning: 'OpenSP::ElementDefinition::DeclaredContent OpenSP::OpenElement::declaredContent_' [-Wreorder] ElementDefinition::DeclaredContent declaredContent_; ^~~~~~~~~~~~~~~~ OpenElement.cxx:14:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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 ../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] 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 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] 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 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] 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 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] 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 class SP_API Attribute { ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c OutputCharStream.cxx -fPIC -DPIC -o .libs/OutputCharStream.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c OutputState.cxx -fPIC -DPIC -o .libs/OutputState.o In file included from OutputCharStream.cxx:5: ../include/OutputCharStream.h: In constructor 'OpenSP::EncodeOutputCharStream::EncodeOutputCharStream(OpenSP::OutputByteStream*, const OpenSP::OutputCodingSystem*)': ../include/OutputCharStream.h:67:11: warning: 'OpenSP::EncodeOutputCharStream::escaper_' will be initialized after [-Wreorder] Escaper escaper_; ^~~~~~~~ ../include/OutputCharStream.h:66:18: warning: 'OpenSP::Owner OpenSP::EncodeOutputCharStream::ownedEncoder_' [-Wreorder] Owner ownedEncoder_; ^~~~~~~~~~~~~ OutputCharStream.cxx:76:1: warning: when initialized here [-Wreorder] EncodeOutputCharStream::EncodeOutputCharStream(OutputByteStream *byteStream, ^~~~~~~~~~~~~~~~~~~~~~ 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] Escaper escaper_; ^~~~~~~~ ../include/OutputCharStream.h:65:12: warning: 'OpenSP::Encoder* OpenSP::EncodeOutputCharStream::encoder_' [-Wreorder] Encoder *encoder_; ^~~~~~~~ OutputCharStream.cxx:89:1: warning: when initialized here [-Wreorder] EncodeOutputCharStream::EncodeOutputCharStream(OutputByteStream *byteStream, ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from OutputState.h:10, from OutputState.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Parser.lo Parser.cxx 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserApp.lo ParserApp.cxx 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 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] 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 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] 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 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] 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 struct SP_API Transition { ^~~~~~~~~~ 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:18: 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] 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 struct SP_API MarkupItem { ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Parser.cxx -fPIC -DPIC -o .libs/Parser.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::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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Param.cxx -fPIC -DPIC -o .libs/Param.o 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 class ConstPtr : private Ptr { ^~~~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from Parser.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserApp.cxx -fPIC -DPIC -o .libs/ParserApp.o 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] 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 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] 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 struct SP_API Transition { ^~~~~~~~~~ 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] 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 struct NameToken { ^~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserEventGeneratorKit.lo ParserEventGeneratorKit.cxx In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserEventGeneratorKit.cxx -fPIC -DPIC -o .libs/ParserEventGeneratorKit.o 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 struct SP_API Transition { ^~~~~~~~~~ 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] 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 class SP_API CharsetDeclRange { ^~~~~~~~~~~~~~~~ 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:18: 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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] 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 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::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] 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 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] 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 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] 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 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] 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 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] 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 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::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] 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 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] 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 class SP_API CharsetDeclSection { ^~~~~~~~~~~~~~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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(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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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:31: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserMessages.lo ParserMessages.cxx 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 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] 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 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] 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 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 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] 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 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 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:18: 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] 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 ParserApp.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 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] 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 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 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:3: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' ../include/ArcEngine.h:31:31: 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] 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 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] 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 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] 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 class SP_API MessageFragment { ^~~~~~~~~~~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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 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:5: 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:51: 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] 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 class Ptr { ^~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserEventGeneratorKit.cxx:10: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserMessages.cxx -fPIC -DPIC -o .libs/ParserMessages.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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/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] 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 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] 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 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 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] 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 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserOptions.lo ParserOptions.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserOptions.cxx -fPIC -DPIC -o .libs/ParserOptions.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserState.lo ParserState.cxx 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] short typeValid; ^~~~~~~~~ ../include/ParserOptions.h:99:17: warning: 'OpenSP::PackedBoolean OpenSP::ParserOptions::shortref' [-Wreorder] PackedBoolean shortref; ^~~~~~~~ ParserOptions.cxx:15:1: warning: when initialized here [-Wreorder] 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] 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 class String { ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Partition.lo Partition.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserState.cxx -fPIC -DPIC -o .libs/ParserState.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Partition.cxx -fPIC -DPIC -o .libs/Partition.o In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from ParserState.h:13, from ParserState.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o PosixStorage.lo PosixStorage.cxx 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] IListIterBase::next; ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListIterBase::done; ^~~~~~~~~~~~~ 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] 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 class String { ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c PosixStorage.cxx -fPIC -DPIC -o .libs/PosixStorage.o 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] IListIterBase::next; ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] Ptr entityManager_; ^~~~~~~~~~~~~~ ParserState.h:229:17: warning: 'OpenSP::ParserOptions OpenSP::ParserState::options_' [-Wreorder] ParserOptions options_; ^~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] Boolean keepingMessages_; ^~~~~~~~~~~~~~~~ ParserState.h:264:13: warning: 'OpenSP::Allocator OpenSP::ParserState::eventAllocator_' [-Wreorder] Allocator eventAllocator_; ^~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] Allocator internalAllocator_; ^~~~~~~~~~~~~~~~~~ ParserState.h:230:17: warning: 'OpenSP::EventHandler* OpenSP::ParserState::handler_' [-Wreorder] EventHandler *handler_; ^~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] unsigned inputLevel_; ^~~~~~~~~~~ ParserState.h:274:12: warning: 'unsigned int OpenSP::ParserState::specialParseInputLevel_' [-Wreorder] unsigned specialParseInputLevel_; ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] unsigned markedSectionSpecialLevel_; ^~~~~~~~~~~~~~~~~~~~~~~~~~ ParserState.h:270:8: warning: 'OpenSP::Mode OpenSP::ParserState::currentMode_' [-Wreorder] Mode currentMode_; ^~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] Mode currentMode_; ^~~~~~~~~~~~ ParserState.h:254:11: warning: 'OpenSP::Boolean OpenSP::ParserState::hadLpd_' [-Wreorder] Boolean hadLpd_; ^~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] Boolean pass2_; ^~~~~~ ParserState.h:253:19: warning: 'OpenSP::Boolean OpenSP::ParserState::activeLinkTypesSubsted_' [-Wreorder] mutable Boolean activeLinkTypesSubsted_; ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] mutable Boolean activeLinkTypesSubsted_; ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.h:232:11: warning: 'OpenSP::Boolean OpenSP::ParserState::allowPass2_' [-Wreorder] Boolean allowPass2_; ^~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] const volatile sig_atomic_t *cancelPtr_; ^~~~~~~~~~ ParserState.h:244:9: warning: 'OpenSP::ParserState::Phase OpenSP::ParserState::finalPhase_' [-Wreorder] Phase finalPhase_; ^~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 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] Boolean hadAfdrDecl_; ^~~~~~~~~~~~ ParserState.h:288:12: warning: 'unsigned int OpenSP::ParserState::instantiatedDtds_' [-Wreorder] unsigned instantiatedDtds_; ^~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] ParserState::ParserState(const Ptr &em, ^~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Recognizer.lo Recognizer.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 struct SP_API Transition { ^~~~~~~~~~ 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] 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 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:18: 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] 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 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] 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 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:3: 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::String; size_t = long unsigned int]' ParserState.cxx:473:60: 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] 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 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:48: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 class Ptr { ^~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] IListIterBase::next; ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ PosixStorage.cxx: In constructor 'OpenSP::PosixBaseStorageObject::PosixBaseStorageObject(int, OpenSP::Boolean)': PosixStorage.cxx:80:17: warning: 'OpenSP::PosixBaseStorageObject::eof_' will be initialized after [-Wreorder] PackedBoolean eof_; ^~~~ PosixStorage.cxx:92:58: warning: base 'OpenSP::RewindStorageObject' [-Wreorder] RewindStorageObject(mayRewind, mayRewind && canSeek(fd)) ^ PosixStorage.cxx:90:1: warning: when initialized here [-Wreorder] 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] const char *type_; ^~~~~ ../include/PosixStorage.h:56:29: warning: 'const OpenSP::OutputCodingSystem* OpenSP::PosixStorageManager::filenameCodingSystem_' [-Wreorder] const OutputCodingSystem *filenameCodingSystem_; ^~~~~~~~~~~~~~~~~~~~~ PosixStorage.cxx:163:1: warning: when initialized here [-Wreorder] 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] const OutputCodingSystem *filenameCodingSystem_; ^~~~~~~~~~~~~~~~~~~~~ ../include/PosixStorage.h:53:21: warning: 'OpenSP::DescriptorManager OpenSP::PosixStorageManager::descriptorManager_' [-Wreorder] DescriptorManager descriptorManager_; ^~~~~~~~~~~~~~~~~~ PosixStorage.cxx:163:1: warning: when initialized here [-Wreorder] 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] cfilename_(cfilename) ^ PosixStorage.cxx:502:23: warning: base 'OpenSP::PosixBaseStorageObject' [-Wreorder] PosixStorage.cxx:493:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 class String { ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Recognizer.cxx -fPIC -DPIC -o .libs/Recognizer.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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from Recognizer.cxx:12: Recognizer.h: In constructor 'OpenSP::Recognizer::Recognizer(OpenSP::Trie*, const OpenSP::XcharMap&)': Recognizer.h:35:23: warning: 'OpenSP::Recognizer::map_' will be initialized after [-Wreorder] XcharMap map_; ^~~~ Recognizer.h:33:11: warning: 'OpenSP::Boolean OpenSP::Recognizer::multicode_' [-Wreorder] Boolean multicode_; ^~~~~~~~~~ Recognizer.cxx:19:1: warning: when initialized here [-Wreorder] 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] XcharMap map_; ^~~~ Recognizer.h:33:11: warning: 'OpenSP::Boolean OpenSP::Recognizer::multicode_' [-Wreorder] Boolean multicode_; ^~~~~~~~~~ Recognizer.cxx:24:1: warning: when initialized here [-Wreorder] Recognizer::Recognizer(Trie *trie, const XcharMap &map, ^~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o RewindStorageObject.lo RewindStorageObject.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SGMLApplication.lo SGMLApplication.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c RewindStorageObject.cxx -fPIC -DPIC -o .libs/RewindStorageObject.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c SGMLApplication.cxx -fPIC -DPIC -o .libs/SGMLApplication.o 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] PackedBoolean canSeek_; ^~~~~~~~ ../include/RewindStorageObject.h:27:17: warning: 'OpenSP::PackedBoolean OpenSP::RewindStorageObject::savingBytes_' [-Wreorder] PackedBoolean savingBytes_; ^~~~~~~~~~~~ RewindStorageObject.cxx:16:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SJISCodingSystem.lo SJISCodingSystem.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SOEntityCatalog.lo SOEntityCatalog.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Sd.lo Sd.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c SJISCodingSystem.cxx -fPIC -DPIC -o .libs/SJISCodingSystem.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Sd.cxx -fPIC -DPIC -o .libs/Sd.o In file included from ../include/Location.h:12, from ../include/Message.h:12, from CatalogMessages.h:2, from SOEntityCatalog.cxx:11: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SdText.lo SdText.cxx In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ExternalId.h:12, from ../include/Sd.h:14, from Sd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(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] Ptr entityManager_; ^~~~~~~~~~~~~~ ../include/Sd.h:258:17: warning: 'OpenSP::PackedBoolean OpenSP::Sd::internalCharsetIsDocCharset_' [-Wreorder] PackedBoolean internalCharsetIsDocCharset_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sd.cxx:15:1: warning: when initialized here [-Wreorder] 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] Boolean integrallyStored_; ^~~~~~~~~~~~~~~~~ ../include/Sd.h:267:19: warning: 'OpenSP::Sd::ImplydefElement OpenSP::Sd::implydefElement_' [-Wreorder] ImplydefElement implydefElement_; ^~~~~~~~~~~~~~~~ Sd.cxx:15:1: warning: when initialized here [-Wreorder] Sd::Sd(const Ptr &entityManager) ^~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/Sd.h:13, 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 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] 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 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:30: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = int; OpenSP::Boolean = bool]' Sd.cxx:263:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ SOEntityCatalog.cxx: In member function 'OpenSP::Boolean OpenSP::CatalogParser::isMinimumData(OpenSP::Xchar)': SOEntityCatalog.cxx:208:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 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] Vector systemCatalogs_; ^~~~~~~~~~~~~~~ SOEntityCatalog.cxx:58:10: warning: 'size_t OpenSP::SOCatalogManagerImpl::nSystemCatalogsMustExist_' [-Wreorder] size_t nSystemCatalogsMustExist_; ^~~~~~~~~~~~~~~~~~~~~~~~~ SOEntityCatalog.cxx:258:1: warning: when initialized here [-Wreorder] 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] Ptr em_; ^~~ SOEntityCatalog.cxx:143:10: warning: 'size_t OpenSP::SOEntityCatalog::catalogNumber_' [-Wreorder] size_t catalogNumber_; ^~~~~~~~~~~~~~ SOEntityCatalog.cxx:397:1: warning: when initialized here [-Wreorder] SOEntityCatalog::SOEntityCatalog(Ptr em) ^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c SdText.cxx -fPIC -DPIC -o .libs/SdText.o SOEntityCatalog.cxx: In constructor 'OpenSP::CatalogParser::CatalogParser(const OpenSP::CharsetInfo&)': SOEntityCatalog.cxx:239:27: warning: 'OpenSP::CatalogParser::categoryTable_' will be initialized after [-Wreorder] XcharMap categoryTable_; ^~~~~~~~~~~~~~ SOEntityCatalog.cxx:225:11: warning: 'OpenSP::StringC OpenSP::CatalogParser::entityKey_' [-Wreorder] StringC entityKey_; ^~~~~~~~~~ SOEntityCatalog.cxx:795:1: warning: when initialized here [-Wreorder] CatalogParser::CatalogParser(const CharsetInfo &charset) ^~~~~~~~~~~~~ SOEntityCatalog.cxx:225:11: warning: 'OpenSP::CatalogParser::entityKey_' will be initialized after [-Wreorder] StringC entityKey_; ^~~~~~~~~~ SOEntityCatalog.cxx:223:11: warning: 'OpenSP::StringC OpenSP::CatalogParser::publicKey_' [-Wreorder] StringC publicKey_; ^~~~~~~~~~ SOEntityCatalog.cxx:795:1: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': SOEntityCatalog.cxx:267:31: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:54: 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] 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 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::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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 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:3: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' SOEntityCatalog.cxx:267:31: 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] 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 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: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: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] 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 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] 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 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:7: 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] 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 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] 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 class SP_API Location { ^~~~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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::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:30: 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:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] 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 struct SP_API SdTextItem { ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SearchResultMessageArg.lo SearchResultMessageArg.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c SearchResultMessageArg.cxx -fPIC -DPIC -o .libs/SearchResultMessageArg.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SgmlParser.lo SgmlParser.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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:3: 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] 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 class String { ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c SgmlParser.cxx -fPIC -DPIC -o .libs/SgmlParser.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ShortReferenceMap.lo ShortReferenceMap.cxx 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ShortReferenceMap.cxx -fPIC -DPIC -o .libs/ShortReferenceMap.o 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ 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] PackedBoolean subdocReferenced; ^~~~~~~~~~~~~~~~ ../include/SgmlParser.h:51:14: warning: 'unsigned int OpenSP::SgmlParser::Params::subdocLevel' [-Wreorder] unsigned subdocLevel; ^~~~~~~~~~~ SgmlParser.cxx:101:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ 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] T *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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 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] 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 class SP_API Attribute { ^~~~~~~~~ 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] 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 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:18: 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] 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 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] 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 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(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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 struct SP_API MarkupItem { ^~~~~~~~~~ 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 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] 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 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] 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 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] 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 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o StdioStorage.lo StdioStorage.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o StorageManager.lo StorageManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c StdioStorage.cxx -fPIC -DPIC -o .libs/StdioStorage.o 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] IListIterBase::next; ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c StorageManager.cxx -fPIC -DPIC -o .libs/StorageManager.o 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] const char *type_; ^~~~~ ../include/StdioStorage.h:39:29: warning: 'const OpenSP::OutputCodingSystem* OpenSP::StdioStorageManager::filenameCodingSystem_' [-Wreorder] const OutputCodingSystem *filenameCodingSystem_; ^~~~~~~~~~~~~~~~~~~~~ StdioStorage.cxx:53:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Syntax.lo Syntax.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Text.lo Text.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o TokenMessageArg.lo TokenMessageArg.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Syntax.cxx -fPIC -DPIC -o .libs/Syntax.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c TokenMessageArg.cxx -fPIC -DPIC -o .libs/TokenMessageArg.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Text.cxx -fPIC -DPIC -o .libs/Text.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ ../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] XcharMap categoryTable_; ^~~~~~~~~~~~~~ ../include/Syntax.h:268:17: warning: 'OpenSP::PackedBoolean OpenSP::Syntax::shuncharControls_' [-Wreorder] PackedBoolean shuncharControls_; ^~~~~~~~~~~~~~~~~ Syntax.cxx:38:1: warning: when initialized here [-Wreorder] Syntax::Syntax(const Sd &sd) ^~~~~~ In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from TokenMessageArg.h:13, from TokenMessageArg.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] 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 struct SP_API TextItem { ^~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 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] 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 class String { ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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:30: 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:72: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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] 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 class SP_API CharsetDeclRange { ^~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o TranslateCodingSystem.lo TranslateCodingSystem.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o TrieBuilder.lo TrieBuilder.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c TranslateCodingSystem.cxx -fPIC -DPIC -o .libs/TranslateCodingSystem.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CharsetRegistry.h:13, from ../include/TranslateCodingSystem.h:10, 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c TrieBuilder.cxx -fPIC -DPIC -o .libs/TrieBuilder.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o TypeId.lo TypeId.cxx 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c TypeId.cxx -fPIC -DPIC -o .libs/TypeId.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o URLStorage.lo URLStorage.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o UTF8CodingSystem.lo UTF8CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c URLStorage.cxx -fPIC -DPIC -o .libs/URLStorage.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Undo.lo Undo.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c UTF8CodingSystem.cxx -fPIC -DPIC -o .libs/UTF8CodingSystem.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from URLStorage.cxx:54: ../include/URLStorage.h: In constructor 'OpenSP::URLStorageManager::URLStorageManager(const char*)': ../include/URLStorage.h:32:15: warning: 'OpenSP::URLStorageManager::type_' will be initialized after [-Wreorder] const char *type_; ^~~~~ URLStorage.cxx:182:47: warning: base 'OpenSP::IdStorageManager' [-Wreorder] : type_(type), IdStorageManager(&iso646Charset) ^ URLStorage.cxx:181:1: warning: when initialized here [-Wreorder] 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] 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] while ( isspace(*line) ) ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Undo.cxx -fPIC -DPIC -o .libs/Undo.o URLStorage.cxx:330:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' { ^ 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] SOCKET fd_; ^~~ URLStorage.cxx:108:11: warning: 'OpenSP::Boolean OpenSP::HttpSocketStorageObject::eof_' [-Wreorder] Boolean eof_; ^~~~ URLStorage.cxx:526:1: warning: when initialized here [-Wreorder] 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] 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] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o UnicodeCodingSystem.lo UnicodeCodingSystem.cxx In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ParserState.h:17, from Undo.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o UnivCharsetDesc.lo UnivCharsetDesc.cxx 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 class String { ^~~~~~ 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] 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 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] 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 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:18: 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] 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 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c UnicodeCodingSystem.cxx -fPIC -DPIC -o .libs/UnicodeCodingSystem.o UnicodeCodingSystem.cxx: In constructor 'OpenSP::UnicodeDecoder::UnicodeDecoder(const OpenSP::InputCodingSystem*)': UnicodeCodingSystem.cxx:38:28: warning: 'OpenSP::UnicodeDecoder::subCodingSystem_' will be initialized after [-Wreorder] const InputCodingSystem *subCodingSystem_; ^~~~~~~~~~~~~~~~ UnicodeCodingSystem.cxx:35:17: warning: 'OpenSP::PackedBoolean OpenSP::UnicodeDecoder::hadByteOrderMark_' [-Wreorder] PackedBoolean hadByteOrderMark_; ^~~~~~~~~~~~~~~~~ UnicodeCodingSystem.cxx:65:1: warning: when initialized here [-Wreorder] 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] if (subDecoder_) ^~ UnicodeCodingSystem.cxx:82:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fromLen < 2) { ^~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o XMLCodingSystem.lo XMLCodingSystem.cxx In file included from UnivCharsetDesc.cxx:8: ../include/UnivCharsetDesc.h: In constructor 'OpenSP::UnivCharsetDescIter::UnivCharsetDescIter(const OpenSP::UnivCharsetDesc&)': ../include/UnivCharsetDesc.h:88:11: warning: 'OpenSP::UnivCharsetDescIter::doneCharMap_' will be initialized after [-Wreorder] Boolean doneCharMap_; ^~~~~~~~~~~~ ../include/UnivCharsetDesc.h:87:8: warning: 'OpenSP::Char OpenSP::UnivCharsetDescIter::nextChar_' [-Wreorder] Char nextChar_; ^~~~~~~~~ UnivCharsetDesc.cxx:137:1: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o assert.lo assert.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c XMLCodingSystem.cxx -fPIC -DPIC -o .libs/XMLCodingSystem.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c assert.cxx -fPIC -DPIC -o .libs/assert.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseAttribute.lo parseAttribute.cxx XMLCodingSystem.cxx: In constructor 'OpenSP::XMLDecoder::XMLDecoder(const OpenSP::InputCodingSystemKit*)': XMLCodingSystem.cxx:87:31: warning: 'OpenSP::XMLDecoder::kit_' will be initialized after [-Wreorder] const InputCodingSystemKit *kit_; ^~~~ XMLCodingSystem.cxx:77:15: warning: 'OpenSP::XMLDecoder::DetectPhase OpenSP::XMLDecoder::phase_' [-Wreorder] DetectPhase phase_; ^~~~~~ XMLCodingSystem.cxx:106:1: warning: when initialized here [-Wreorder] 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] for (; fromLen > guessBytesPerChar_; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CodingSystemKit.h:15, from XMLCodingSystem.cxx:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseCommon.lo parseCommon.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parseAttribute.cxx -fPIC -DPIC -o .libs/parseAttribute.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parseCommon.cxx -fPIC -DPIC -o .libs/parseCommon.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseCommon.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseDecl.lo parseDecl.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseInstance.lo parseInstance.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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ parseAttribute.cxx: In member function 'void OpenSP::Parser::extendUnquotedAttributeValue()': parseAttribute.cxx:383:7: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'unsigned int' [-Wsign-compare] || c == syn.delimGeneral(Syntax::dTAGC)[0]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parseInstance.cxx -fPIC -DPIC -o .libs/parseInstance.o 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parseDecl.cxx -fPIC -DPIC -o .libs/parseDecl.o 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseDecl.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 class SP_API Attribute { ^~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ 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] 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] if (index != -1 && adl->def(j)->isNotation()) ~~~~~~^~~~~ parseDecl.cxx: In member function 'void OpenSP::Parser::addIdLinkRule(const StringC&, OpenSP::IdLinkRule&)': parseDecl.cxx:3229:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || nRules >= 1 && rule.attributes().nSpec() == 0) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseDecl.cxx: In member function 'void OpenSP::Parser::addLinkRule(OpenSP::LinkSet*, const OpenSP::ElementType*, const OpenSP::ConstPtr&)': parseDecl.cxx:3242:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || nRules >= 1 && linkRule->attributes().nSpec() == 0) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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::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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ parseAttribute.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::parseAttributeSpec(OpenSP::Mode, OpenSP::AttributeList&, OpenSP::Boolean&, OpenSP::Ptr&)': parseAttribute.cxx:51:45: warning: 'nameMarkupIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] currentMarkup()->changeToAttributeValue(nameMarkupIndex); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::CopyOwner; size_t = long unsigned int]': parseDecl.cxx:1052:56: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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] 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 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] 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 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] 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 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] 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 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private Ptr { ^~~~~~~~ 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] 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 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] 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 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] 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 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] 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 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] 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 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(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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] 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.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 parseDecl.cxx:7: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ 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::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:5: 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:51: 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] 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:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseMode.lo parseMode.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parseMode.cxx -fPIC -DPIC -o .libs/parseMode.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 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] 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 parseMode.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:12, from parseMode.cxx:5: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 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 parseMode.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12, from Parser.h:12, from parseMode.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here class Owner { ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from parseMode.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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] 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 parseMode.cxx:5: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here class SP_API CharsetDeclRange { ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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:18: 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from Parser.h:17, from parseMode.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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] 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 parseMode.cxx:5: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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]' Partition.h:21: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::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 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 parseMode.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.cxx:5: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SrInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SrInfo]' parseMode.cxx:230:18: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SrInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parseMode.cxx:11: SrInfo.h:14:8: note: 'struct OpenSP::SrInfo' declared here struct SrInfo { ^~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseParam.lo parseParam.cxx ../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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 parseMode.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseMode.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:5: 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:51: 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] 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 parseMode.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parseParam.cxx -fPIC -DPIC -o .libs/parseParam.o 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] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ 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:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/NCVector.h:12, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16, 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] 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] #define Vector NCVector ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 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] 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 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] 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 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] 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 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] 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 struct SP_API Transition { ^~~~~~~~~~ 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] 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 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:18: 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] 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 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] 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 class ConstPtr : private 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::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] 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 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] 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 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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ 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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 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:5: 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:51: 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] 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 class Ptr { ^~~ parseDecl.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::parseMarkedSectionDeclStart()': parseDecl.cxx:3514:7: warning: 'discardMarkup' may be used uninitialized in this function [-Wmaybe-uninitialized] if (discardMarkup) ^~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseSd.lo parseSd.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parseSd.cxx -fPIC -DPIC -o .libs/parseSd.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 parseSd.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 parseSd.cxx:5: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o app_inst.lo app_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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ 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] ParserState::sdPointer; ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instanceSyntaxPointer; ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::prologSyntaxPointer; ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::activateLinkType; ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::allLinkTypesActivated; ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityManager; ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::entityCatalog; ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::baseDtd; ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::options; ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] ParserState::instantiateDtd; ^~~~~~~~~~~ parseSd.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::scanForSgmlDecl(const OpenSP::CharsetInfo&)': parseSd.cxx:609:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 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] 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] 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] 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] 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] 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] 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] && 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] 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] && 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] 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] && 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] 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] && 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] 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] if (c == initCharset.execToDesc('.')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o arc_inst.lo arc_inst.cxx 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] 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] switch (features[i].arg) { ^ parseSd.cxx: In constructor 'OpenSP::SdBuilder::SdBuilder()': parseSd.cxx:50:11: warning: 'OpenSP::SdBuilder::valid' will be initialized after [-Wreorder] Boolean valid; ^~~~~ parseSd.cxx:47:11: warning: 'OpenSP::Boolean OpenSP::SdBuilder::externalSyntax' [-Wreorder] Boolean externalSyntax; ^~~~~~~~~~~~~~ parseSd.cxx:3378:1: warning: when initialized here [-Wreorder] 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] Location location_; ^~~~~~~~~ SdFormalError.h:23:23: warning: 'const OpenSP::MessageType1* OpenSP::SdFormalError::message_' [-Wreorder] const MessageType1 *message_; ^~~~~~~~ parseSd.cxx:3390:1: warning: when initialized here [-Wreorder] SdFormalError::SdFormalError(const Location &location, ^~~~~~~~~~~~~ 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 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] 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 parseSd.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:12, from parseSd.cxx:5: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 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 parseSd.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12, from Parser.h:12, from parseSd.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here class Owner { ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from parseSd.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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] 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 parseSd.cxx:5: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here class SP_API CharsetDeclRange { ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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:18: 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from Parser.h:17, from parseSd.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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] 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 parseSd.cxx:5: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../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] 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 parseSd.cxx:5: ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here class SP_API CharsetDeclSection { ^~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Markup.h:16, from ../include/Entity.h:22, from Parser.h:17, from parseSd.cxx:5: ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here struct SP_API SdTextItem { ^~~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] 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 parseSd.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseSd.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:5: 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:51: 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] 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 parseSd.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c arc_inst.cxx -fPIC -DPIC -o .libs/arc_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o entmgr_inst.lo entmgr_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c entmgr_inst.cxx -fPIC -DPIC -o .libs/entmgr_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parser_inst.lo parser_inst.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o xentmgr_inst.lo xentmgr_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parser_inst.cxx -fPIC -DPIC -o .libs/parser_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SubstTable.lo SubstTable.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c xentmgr_inst.cxx -fPIC -DPIC -o .libs/xentmgr_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o UTF16CodingSystem.lo UTF16CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c SubstTable.cxx -fPIC -DPIC -o .libs/SubstTable.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c UTF16CodingSystem.cxx -fPIC -DPIC -o .libs/UTF16CodingSystem.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Fixed4CodingSystem.lo Fixed4CodingSystem.cxx /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o memcmp.lo memcmp.c g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c Fixed4CodingSystem.cxx -fPIC -DPIC -o .libs/Fixed4CodingSystem.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c memcmp.c -fPIC -DPIC -o .libs/memcmp.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o memmove.lo memmove.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o strerror.lo strerror.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c memmove.c -fPIC -DPIC -o .libs/memmove.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c strerror.c -fPIC -DPIC -o .libs/strerror.o parseSd.cxx: In member function 'void OpenSP::Parser::translateRange(OpenSP::SdBuilder&, OpenSP::SyntaxChar, OpenSP::SyntaxChar, OpenSP::ISet&)': parseSd.cxx:2549:34: warning: 'firstSwitch' may be used uninitialized in this function [-Wmaybe-uninitialized] if (gotSwitch && firstSwitch == start) { ~~~~~~~~~~~~^~~~~~~~ parseSd.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::sdParseNaming(OpenSP::SdBuilder&, OpenSP::SdParam&)': parseSd.cxx:1740:23: warning: 'nextRangeChar' may be used uninitialized in this function [-Wmaybe-uninitialized] c = nextRangeChar++; ~~~~~~~~~~~~~^~ parseSd.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::sdParseFunction(OpenSP::SdBuilder&, OpenSP::SdParam&)': parseSd.cxx:1482:41: warning: 'nameMarkupIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] currentMarkup()->changeToSdReservedName(nameMarkupIndex, Sd::rNAMING); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseDecl.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::parseDoctypeDeclStart()': parseDecl.cxx:2234:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] Entity::doctype); ^ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libosp.la -rpath /usr/lib64 -no-undefined -version-info 5:0:0 Allocator.lo ArcEngine.lo Attribute.lo Big5CodingSystem.lo CharsetDecl.lo CharsetInfo.lo CharsetRegistry.lo CmdLineApp.lo CodingSystem.lo CodingSystemKit.lo ConsoleOutput.lo ContentState.lo ContentToken.lo DescriptorManager.lo Dtd.lo DtdDeclEventHandler.lo EUCJPCodingSystem.lo ElementType.lo Entity.lo EntityApp.lo EntityCatalog.lo EntityDecl.lo EntityManager.lo ErrnoMessageArg.lo ErrorCountEventHandler.lo Event.lo EventGenerator.lo ExtendEntityManager.lo ExternalId.lo Fixed2CodingSystem.lo GenericEventHandler.lo Group.lo Hash.lo IListBase.lo Id.lo IdentityCodingSystem.lo InputSource.lo InternalInputSource.lo Link.lo LinkProcess.lo LiteralStorage.lo Location.lo Lpd.lo Markup.lo Message.lo MessageArg.lo MessageEventHandler.lo MessageFormatter.lo MessageReporter.lo MessageTable.lo ModeInfo.lo Notation.lo NotationStorage.lo NumericCharRefOrigin.lo OffsetOrderedList.lo OpenElement.lo OutputByteStream.lo OutputCharStream.lo OutputState.lo Param.lo Parser.lo ParserApp.lo ParserEventGeneratorKit.lo ParserMessages.lo ParserOptions.lo ParserState.lo Partition.lo PosixStorage.lo Recognizer.lo RewindStorageObject.lo SGMLApplication.lo SJISCodingSystem.lo SOEntityCatalog.lo Sd.lo SdText.lo SearchResultMessageArg.lo SgmlParser.lo ShortReferenceMap.lo StdioStorage.lo StorageManager.lo Syntax.lo Text.lo TokenMessageArg.lo TranslateCodingSystem.lo TrieBuilder.lo TypeId.lo URLStorage.lo UTF8CodingSystem.lo Undo.lo UnicodeCodingSystem.lo UnivCharsetDesc.lo XMLCodingSystem.lo assert.lo parseAttribute.lo parseCommon.lo parseDecl.lo parseInstance.lo parseMode.lo parseParam.lo parseSd.lo splib.lo app_inst.lo arc_inst.lo entmgr_inst.lo parser_inst.lo xentmgr_inst.lo SubstTable.lo UTF16CodingSystem.lo Fixed4CodingSystem.lo memcmp.lo memmove.lo strerror.lo -lpthread g++ -shared -nostdlib /usr/lib/gcc/aarch64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/aarch64-redhat-linux/8/crtbeginS.o .libs/Allocator.o .libs/ArcEngine.o .libs/Attribute.o .libs/Big5CodingSystem.o .libs/CharsetDecl.o .libs/CharsetInfo.o .libs/CharsetRegistry.o .libs/CmdLineApp.o .libs/CodingSystem.o .libs/CodingSystemKit.o .libs/ConsoleOutput.o .libs/ContentState.o .libs/ContentToken.o .libs/DescriptorManager.o .libs/Dtd.o .libs/DtdDeclEventHandler.o .libs/EUCJPCodingSystem.o .libs/ElementType.o .libs/Entity.o .libs/EntityApp.o .libs/EntityCatalog.o .libs/EntityDecl.o .libs/EntityManager.o .libs/ErrnoMessageArg.o .libs/ErrorCountEventHandler.o .libs/Event.o .libs/EventGenerator.o .libs/ExtendEntityManager.o .libs/ExternalId.o .libs/Fixed2CodingSystem.o .libs/GenericEventHandler.o .libs/Group.o .libs/Hash.o .libs/IListBase.o .libs/Id.o .libs/IdentityCodingSystem.o .libs/InputSource.o .libs/InternalInputSource.o .libs/Link.o .libs/LinkProcess.o .libs/LiteralStorage.o .libs/Location.o .libs/Lpd.o .libs/Markup.o .libs/Message.o .libs/MessageArg.o .libs/MessageEventHandler.o .libs/MessageFormatter.o .libs/MessageReporter.o .libs/MessageTable.o .libs/ModeInfo.o .libs/Notation.o .libs/NotationStorage.o .libs/NumericCharRefOrigin.o .libs/OffsetOrderedList.o .libs/OpenElement.o .libs/OutputByteStream.o .libs/OutputCharStream.o .libs/OutputState.o .libs/Param.o .libs/Parser.o .libs/ParserApp.o .libs/ParserEventGeneratorKit.o .libs/ParserMessages.o .libs/ParserOptions.o .libs/ParserState.o .libs/Partition.o .libs/PosixStorage.o .libs/Recognizer.o .libs/RewindStorageObject.o .libs/SGMLApplication.o .libs/SJISCodingSystem.o .libs/SOEntityCatalog.o .libs/Sd.o .libs/SdText.o .libs/SearchResultMessageArg.o .libs/SgmlParser.o .libs/ShortReferenceMap.o .libs/StdioStorage.o .libs/StorageManager.o .libs/Syntax.o .libs/Text.o .libs/TokenMessageArg.o .libs/TranslateCodingSystem.o .libs/TrieBuilder.o .libs/TypeId.o .libs/URLStorage.o .libs/UTF8CodingSystem.o .libs/Undo.o .libs/UnicodeCodingSystem.o .libs/UnivCharsetDesc.o .libs/XMLCodingSystem.o .libs/assert.o .libs/parseAttribute.o .libs/parseCommon.o .libs/parseDecl.o .libs/parseInstance.o .libs/parseMode.o .libs/parseParam.o .libs/parseSd.o .libs/splib.o .libs/app_inst.o .libs/arc_inst.o .libs/entmgr_inst.o .libs/parser_inst.o .libs/xentmgr_inst.o .libs/SubstTable.o .libs/UTF16CodingSystem.o .libs/Fixed4CodingSystem.o .libs/memcmp.o .libs/memmove.o .libs/strerror.o -lpthread -L/usr/lib/gcc/aarch64-redhat-linux/8 -L/usr/lib/gcc/aarch64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/aarch64-redhat-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-redhat-linux/8/crtendS.o /usr/lib/gcc/aarch64-redhat-linux/8/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libosp.so.5 -o .libs/libosp.so.5.0.0 (cd .libs && rm -f libosp.so.5 && ln -s libosp.so.5.0.0 libosp.so.5) (cd .libs && rm -f libosp.so && ln -s libosp.so.5.0.0 libosp.so) creating libosp.la (cd .libs && rm -f libosp.la && ln -s ../libosp.la libosp.la) make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' Making all in nsgmls make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make all-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o nsgmls.o nsgmls.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SgmlsEventHandler.o SgmlsEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o RastEventHandler.o RastEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o StringSet.o StringSet.cxx In file included from ../include/Location.h:12, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from nsgmls.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from StringSet.h:10, from StringSet.cxx:5: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::String*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::String*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::StringSetKey; OpenSP::Boolean = bool]' StringSet.cxx:21:18: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector*>::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector*>::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from StringSet.h:10, from StringSet.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from nsgmls.cxx:5: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/LinkProcess.h:11, from RastEventHandler.h:18, from RastEventHandler.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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o nsgmls_inst.o nsgmls_inst.cxx In file included from RastEventHandler.cxx:9: RastEventHandler.h: In constructor 'OpenSP::RastEventHandler::RastEventHandler(OpenSP::SgmlParser*, OpenSP::Messenger*)': RastEventHandler.h:147:12: warning: 'OpenSP::RastEventHandler::piErrorCount_' will be initialized after [-Wreorder] unsigned piErrorCount_; ^~~~~~~~~~~~~ RastEventHandler.cxx:129:11: warning: base 'OpenSP::RastSubdocState' [-Wreorder] mgr_(mgr) ^ In file included from ../include/LinkProcess.h:11, from SgmlsEventHandler.h:17, from nsgmls.cxx:7: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ RastEventHandler.cxx:124:1: warning: when initialized here [-Wreorder] RastEventHandler::RastEventHandler(SgmlParser *parser, Messenger *mgr) ^~~~~~~~~~~~~~~~ In file included from ../include/LinkProcess.h:11, from SgmlsEventHandler.h:17, from SgmlsEventHandler.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] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ In file included from nsgmls.cxx:16: nsgmls.h: In constructor 'NsgmlsApp::NsgmlsApp()': nsgmls.h:37:11: warning: 'NsgmlsApp::batchMode_' will be initialized after [-Wreorder] Boolean batchMode_; ^~~~~~~~~~ nsgmls.h:33:11: warning: 'OpenSP::Boolean NsgmlsApp::prologOnly_' [-Wreorder] Boolean prologOnly_; ^~~~~~~~~~~ nsgmls.cxx:78:1: warning: when initialized here [-Wreorder] NsgmlsApp::NsgmlsApp() ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = long unsigned int; size_t = long unsigned int]': RastEventHandler.cxx:272:29: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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 RastEventHandler.h:10, from RastEventHandler.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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 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 RastEventHandler.h:10, from RastEventHandler.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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here class Owner { ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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:18: 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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ In file included from SgmlsEventHandler.cxx:5: SgmlsEventHandler.h: In constructor 'OpenSP::SgmlsEventHandler::SgmlsEventHandler(const OpenSP::SgmlParser*, OpenSP::OutputCharStream*, OpenSP::Messenger*, unsigned int)': SgmlsEventHandler.h:119:21: warning: 'OpenSP::SgmlsEventHandler::os_' will be initialized after [-Wreorder] OutputCharStream *os_; ^~~ SgmlsEventHandler.h:117:14: warning: 'OpenSP::Messenger* OpenSP::SgmlsEventHandler::messenger_' [-Wreorder] Messenger *messenger_; ^~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, ^~~~~~~~~~~~~~~~~ In file included from SgmlsEventHandler.cxx:5: SgmlsEventHandler.h:131:17: warning: 'OpenSP::SgmlsEventHandler::outputNotationSysid_' will be initialized after [-Wreorder] PackedBoolean outputNotationSysid_; ^~~~~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:128:17: warning: 'OpenSP::PackedBoolean OpenSP::SgmlsEventHandler::outputIncluded_' [-Wreorder] PackedBoolean outputIncluded_; ^~~~~~~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, ^~~~~~~~~~~~~~~~~ In file included from SgmlsEventHandler.cxx:5: SgmlsEventHandler.h:138:17: warning: 'OpenSP::SgmlsEventHandler::outputParserInformation_' will be initialized after [-Wreorder] PackedBoolean outputParserInformation_; ^~~~~~~~~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:121:11: warning: 'OpenSP::Boolean OpenSP::SgmlsEventHandler::haveData_' [-Wreorder] Boolean haveData_; ^~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, ^~~~~~~~~~~~~~~~~ In file included from SgmlsEventHandler.cxx:5: SgmlsEventHandler.h:124:28: warning: 'OpenSP::SgmlsEventHandler::lastSos_' will be initialized after [-Wreorder] const StorageObjectSpec *lastSos_; ^~~~~~~~ SgmlsEventHandler.h:120:11: warning: 'OpenSP::Boolean OpenSP::SgmlsEventHandler::inDocument_' [-Wreorder] Boolean inDocument_; ^~~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, ^~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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/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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../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]' RastEventHandler.cxx:71:34: 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Vector.h:19:7: note: 'class OpenSP::Vector' declared here class Vector { ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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:5: 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:51: 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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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] 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 nsgmls.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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] 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 nsgmls.cxx:5: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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] 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 nsgmls.cxx:5: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here class SP_API CharsetDeclRange { ^~~~~~~~~~~~~~~~ In file included from SgmlsEventHandler.cxx:5: SgmlsEventHandler.h: In constructor 'OpenSP::SgmlsSubdocState::SgmlsSubdocState()': SgmlsEventHandler.h:38:11: warning: 'OpenSP::SgmlsSubdocState::haveLinkProcess_' will be initialized after [-Wreorder] Boolean haveLinkProcess_; ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h:35:21: warning: 'const OpenSP::SgmlParser* OpenSP::SgmlsSubdocState::parser_' [-Wreorder] const SgmlParser *parser_; ^~~~~~~ SgmlsEventHandler.cxx:701:1: warning: when initialized here [-Wreorder] SgmlsSubdocState::SgmlsSubdocState() ^~~~~~~~~~~~~~~~ In file included from SgmlsEventHandler.cxx:5: SgmlsEventHandler.h: In constructor 'OpenSP::SgmlsSubdocState::SgmlsSubdocState(const OpenSP::SgmlParser*)': SgmlsEventHandler.h:38:11: warning: 'OpenSP::SgmlsSubdocState::haveLinkProcess_' will be initialized after [-Wreorder] Boolean haveLinkProcess_; ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h:35:21: warning: 'const OpenSP::SgmlParser* OpenSP::SgmlsSubdocState::parser_' [-Wreorder] const SgmlParser *parser_; ^~~~~~~ SgmlsEventHandler.cxx:706:1: warning: when initialized here [-Wreorder] SgmlsSubdocState::SgmlsSubdocState(const SgmlParser *parser) ^~~~~~~~~~~~~~~~ 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 nsgmls.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] 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 nsgmls.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here class Owner { ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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] 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 nsgmls.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.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] 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 RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here class SP_API AttributeList { ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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:18: 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] 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 nsgmls.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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] 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 nsgmls.cxx:5: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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 nsgmls.cxx:5: ../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] 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 nsgmls.cxx:5: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here class SP_API MessageType1 : public MessageType { ^~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.cxx:5: ../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] 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 nsgmls.cxx:5: ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here class SP_API MessageFragment { ^~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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/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] 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 nsgmls.cxx:5: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.cxx:5: ../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]' RastEventHandler.h:73: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::Vector' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.cxx:5: ../include/Vector.h:19:7: note: 'class OpenSP::Vector' declared here class Vector { ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from nsgmls.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.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:5: 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:51: 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] 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 nsgmls.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here class Owner { ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from nsgmls.cxx:5: ../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] 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 nsgmls.cxx:5: ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here class SP_API AttributeList { ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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:18: 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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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/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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.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:5: 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:51: 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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../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] 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 SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here class SP_API AttributeList { ^~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/.libs/libosp.so -lpthread -Wl,--rpath -Wl,/usr/lib64 creating onsgmls make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' Making all in spent make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make all-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spent.o spent.cxx In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from spent.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ spent.cxx: In constructor 'SpentApp::SpentApp()': spent.cxx:23:11: warning: 'SpentApp::rawOutput_' will be initialized after [-Wreorder] Boolean rawOutput_; ^~~~~~~~~~ spent.cxx:22:11: warning: 'OpenSP::Boolean SpentApp::isNdata_' [-Wreorder] Boolean isNdata_; ^~~~~~~~ spent.cxx:28:1: warning: when initialized here [-Wreorder] SpentApp::SpentApp() ^~~~~~~~ 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 spent.cxx:7: ../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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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 spent.cxx:7: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../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] 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 spent.cxx:7: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 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 spent.cxx:7: ../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] 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 spent.cxx:7: ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here class SP_API MessageFragment { ^~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ospent spent.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ospent spent.o ../lib/.libs/libosp.so -lpthread -Wl,--rpath -Wl,/usr/lib64 creating ospent make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' Making all in spam make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make all-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spam.o spam.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CopyEventHandler.o CopyEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MarkupEventHandler.o MarkupEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spam_inst.o spam_inst.cxx In file included from ../include/Location.h:12, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/SgmlParser.h:12, from spam.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from spam.cxx:8: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ In file included from CopyEventHandler.cxx:9: CopyEventHandler.h: In constructor 'OpenSP::CopyEventHandler::CopyEventHandler(OpenSP::OutputCharStream*, unsigned int, const StringC&)': CopyEventHandler.h:124:24: warning: 'OpenSP::CopyEventHandler::currentAttributes_' will be initialized after [-Wreorder] const AttributeList *currentAttributes_; ^~~~~~~~~~~~~~~~~~ CopyEventHandler.h:123:11: warning: 'OpenSP::Boolean OpenSP::CopyEventHandler::emptyElementNormal_' [-Wreorder] Boolean emptyElementNormal_; ^~~~~~~~~~~~~~~~~~~ CopyEventHandler.cxx:75:1: warning: when initialized here [-Wreorder] CopyEventHandler::CopyEventHandler(OutputCharStream *os, ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ CopyEventHandler.cxx: In member function 'virtual void OpenSP::CopyEventHandler::startElement(OpenSP::StartElementEvent*)': CopyEventHandler.cxx:320:40: warning: enum constant in boolean context [-Wint-in-bool-context] if (!closed && (normalizeFlags_ && normalizeUnclosed)) { ^~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 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 MarkupEventHandler.h:11, from MarkupEventHandler.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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here class Owner { ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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:18: 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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ spam.cxx: In constructor 'SpamApp::SpamApp()': spam.cxx:64:11: warning: 'SpamApp::rawOutput_' will be initialized after [-Wreorder] Boolean rawOutput_; ^~~~~~~~~~ spam.cxx:62:12: warning: 'unsigned int SpamApp::normalizeFlags_' [-Wreorder] unsigned normalizeFlags_; ^~~~~~~~~~~~~~~ spam.cxx:69:1: warning: when initialized here [-Wreorder] SpamApp::SpamApp() ^~~~~~~ ../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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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:5: 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:51: 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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ spam.cxx: In constructor 'XCopyEventHandler::XCopyEventHandler(OpenSP::OutputCharStream*, unsigned int, const StringC&, OpenSP::Messenger*)': spam.cxx:33:21: warning: 'XCopyEventHandler::os_' will be initialized after [-Wreorder] OutputCharStream *os_; ^~~ spam.cxx:155:52: warning: base 'OpenSP::CopyEventHandler' [-Wreorder] CopyEventHandler(os, normalizeFlags, outputEntity) ^ spam.cxx:150:1: warning: when initialized here [-Wreorder] XCopyEventHandler::XCopyEventHandler(OutputCharStream *os, ^~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.cxx:7: ../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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.cxx:7: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.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/Event.h:705: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] 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 MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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 CopyEventHandler.h:10, from CopyEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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/SgmlParser.h:13, from spam.cxx:7: ../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] 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 spam.cxx:7: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.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] 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 spam.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.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] 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 spam.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 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 spam.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] 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 spam.cxx:7: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here class Owner { ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.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] 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 spam.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.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:18: 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] 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 spam.cxx:8: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from spam.cxx:7: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ ../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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.cxx:7: ../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] 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 spam.cxx:8: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 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 spam.cxx:7: ../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] 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 spam.cxx:8: ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here class SP_API MessageFragment { ^~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 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 CopyEventHandler.h:10, from CopyEventHandler.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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here class Owner { ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.cxx:7: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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:18: 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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.cxx:7: ../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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.cxx:7: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from spam.cxx:7: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from spam.cxx:7: ../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:5: 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:51: 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from spam.cxx:7: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::CopyEventHandlerEntityInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::CopyEventHandlerEntityInfo]' CopyEventHandler.cxx:81:47: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::CopyEventHandlerEntityInfo' with no trivial copy-assignment [-Wclass-memaccess] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from CopyEventHandler.cxx:9: CopyEventHandler.h:23:8: note: 'struct OpenSP::CopyEventHandlerEntityInfo' declared here struct CopyEventHandlerEntityInfo { ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.cxx:29:3: 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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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:5: 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:51: 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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.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] 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 CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here class SP_API AttributeList { ^~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ospam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ospam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o ../lib/.libs/libosp.so -lpthread -Wl,--rpath -Wl,/usr/lib64 creating ospam make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' Making all in sgmlnorm make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make all-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o sgmlnorm.o sgmlnorm.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SGMLGenerator.o SGMLGenerator.cxx In file included from SGMLGenerator.cxx:9: SGMLGenerator.h: In constructor 'SGMLGenerator::SGMLGenerator(OpenSP::OutputCharStream*, unsigned int)': SGMLGenerator.h:68:7: warning: 'SGMLGenerator::parseMode_' will be initialized after [-Wreorder] } parseMode_; ^~~~~~~~~~ SGMLGenerator.h:56:8: warning: 'char SGMLGenerator::outputState_' [-Wreorder] char outputState_; ^~~~~~~~~~~~ SGMLGenerator.cxx:74:1: warning: when initialized here [-Wreorder] SGMLGenerator::SGMLGenerator(SP_NAMESPACE_SCOPE OutputCharStream *os, ^~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from sgmlnorm.cxx:6: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from sgmlnorm.cxx:6: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ sgmlnorm.cxx: In constructor 'SgmlnormApp::SgmlnormApp()': sgmlnorm.cxx:30:11: warning: 'SgmlnormApp::rawOutput_' will be initialized after [-Wreorder] Boolean rawOutput_; ^~~~~~~~~~ sgmlnorm.cxx:29:12: warning: 'unsigned int SgmlnormApp::genFlags_' [-Wreorder] unsigned genFlags_; ^~~~~~~~~ sgmlnorm.cxx:35:1: warning: when initialized here [-Wreorder] SgmlnormApp::SgmlnormApp() ^~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from sgmlnorm.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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 sgmlnorm.cxx:6: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from sgmlnorm.cxx:6: ../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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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/SgmlParser.h:13, from ../include/ParserApp.h:11, from sgmlnorm.cxx:6: ../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] 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 sgmlnorm.cxx:6: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 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 sgmlnorm.cxx:6: ../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] 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 sgmlnorm.cxx:6: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 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 sgmlnorm.cxx:6: ../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] 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 sgmlnorm.cxx:6: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 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 sgmlnorm.cxx:6: ../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] 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 sgmlnorm.cxx:6: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 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 sgmlnorm.cxx:6: ../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] 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 sgmlnorm.cxx:6: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 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 sgmlnorm.cxx:6: ../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:18: 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] 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 sgmlnorm.cxx:6: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 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 sgmlnorm.cxx:6: ../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] 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 sgmlnorm.cxx:6: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 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 sgmlnorm.cxx:6: ../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] 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 sgmlnorm.cxx:6: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 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 sgmlnorm.cxx:6: ../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] 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 sgmlnorm.cxx:6: ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here class SP_API MessageFragment { ^~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from sgmlnorm.cxx:6: ../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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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 sgmlnorm.cxx:6: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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 sgmlnorm.cxx:6: ../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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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 sgmlnorm.cxx:6: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from sgmlnorm.cxx:6: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 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 sgmlnorm.cxx:6: ../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:5: 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:51: 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] 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 sgmlnorm.cxx:6: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o osgmlnorm sgmlnorm.o SGMLGenerator.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/osgmlnorm sgmlnorm.o SGMLGenerator.o ../lib/.libs/libosp.so -lpthread -Wl,--rpath -Wl,/usr/lib64 creating osgmlnorm make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' Making all in sx make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make all-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o sx.o sx.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o XmlOutputEventHandler.o XmlOutputEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o sx_inst.o sx_inst.cxx In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from sx.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/EntityManager.h:15, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from sx.cxx:7: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from XmlOutputEventHandler.cxx:10: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.h:17, from sx.cxx:9: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ In file included from XmlOutputEventHandler.h:17, from XmlOutputEventHandler.cxx:11: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::clear; ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] IListBase::empty; ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from sx.cxx:7: ../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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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 sx.cxx:7: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] Vector::Vector(const Vector &v) ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from sx.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 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/SgmlParser.h:13, from ../include/ParserApp.h:11, from sx.cxx:7: ../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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/OutputCharStream.h:10, from sx.cxx:6: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 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 sx.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] 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 sx.cxx:7: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ In file included from XmlOutputEventHandler.cxx:11: XmlOutputEventHandler.h: In constructor 'OpenSP::XmlOutputEventHandler::XmlOutputEventHandler(const OpenSP::XmlOutputEventHandler::Options&, OpenSP::OutputCharStream*, const StringC&, const char*, const char*, const OpenSP::Ptr&, const OpenSP::CharsetInfo&, OpenSP::CmdLineApp*)': XmlOutputEventHandler.h:118:11: warning: 'OpenSP::XmlOutputEventHandler::options_' will be initialized after [-Wreorder] Options options_; ^~~~~~~~ XmlOutputEventHandler.h:107:21: warning: 'OpenSP::OutputCharStream* OpenSP::XmlOutputEventHandler::os_' [-Wreorder] OutputCharStream *os_; ^~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, ^~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.cxx:11: XmlOutputEventHandler.h:107:21: warning: 'OpenSP::XmlOutputEventHandler::os_' will be initialized after [-Wreorder] OutputCharStream *os_; ^~~ XmlOutputEventHandler.h:101:28: warning: 'OpenSP::Ptr OpenSP::XmlOutputEventHandler::entityManager_' [-Wreorder] Ptr entityManager_; ^~~~~~~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, ^~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.cxx:11: XmlOutputEventHandler.h:106:22: warning: 'OpenSP::XmlOutputEventHandler::systemCharset_' will be initialized after [-Wreorder] const CharsetInfo *systemCharset_; ^~~~~~~~~~~~~~ XmlOutputEventHandler.h:100:15: warning: 'OpenSP::CmdLineApp* OpenSP::XmlOutputEventHandler::app_' [-Wreorder] CmdLineApp *app_; ^~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, ^~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.cxx:11: XmlOutputEventHandler.h:116:11: warning: 'OpenSP::XmlOutputEventHandler::inCdata_' will be initialized after [-Wreorder] Boolean inCdata_; ^~~~~~~~ XmlOutputEventHandler.h:115:11: warning: 'OpenSP::Boolean OpenSP::XmlOutputEventHandler::useCdata_' [-Wreorder] Boolean useCdata_; ^~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, ^~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.cxx:11: XmlOutputEventHandler.h:119:11: warning: 'OpenSP::XmlOutputEventHandler::namecaseGeneral_' will be initialized after [-Wreorder] Boolean namecaseGeneral_; ^~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:110:25: warning: 'OpenSP::FileOutputByteStream* OpenSP::XmlOutputEventHandler::extEntFile_' [-Wreorder] FileOutputByteStream *extEntFile_; ^~~~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, ^~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.cxx:11: XmlOutputEventHandler.h:111:25: warning: 'OpenSP::XmlOutputEventHandler::intEntFile_' will be initialized after [-Wreorder] FileOutputByteStream *intEntFile_; ^~~~~~~~~~~ XmlOutputEventHandler.h:108:21: warning: 'OpenSP::OutputCharStream* OpenSP::XmlOutputEventHandler::extEnts_' [-Wreorder] OutputCharStream *extEnts_; ^~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from sx.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] 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 sx.cxx:7: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 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 sx.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OutputCharStream.h:11, from sx.cxx:6: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 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 sx.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] 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 sx.cxx:7: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 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 sx.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:18: 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] 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 sx.cxx:7: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 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 sx.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] 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 sx.cxx:7: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 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 sx.cxx:7: ../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] 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 sx.cxx:7: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 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 sx.cxx:7: ../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] 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 sx.cxx:7: ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here class SP_API MessageFragment { ^~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from sx.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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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 sx.cxx:7: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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 sx.cxx:7: ../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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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 sx.cxx:7: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from sx.cxx:7: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 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 sx.cxx:7: ../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:5: 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:51: 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] 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 sx.cxx:7: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ In file included from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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 XmlOutputEventHandler.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 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 XmlOutputEventHandler.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] size_t size_; ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } ^~~~~~ 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 XmlOutputEventHandler.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/EntityManager.h:12, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ 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 XmlOutputEventHandler.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] 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 XmlOutputEventHandler.cxx:10: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ 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 XmlOutputEventHandler.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] 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 XmlOutputEventHandler.cxx:10: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 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 XmlOutputEventHandler.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] 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 XmlOutputEventHandler.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 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 XmlOutputEventHandler.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] 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 XmlOutputEventHandler.cxx:10: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here struct SP_API Transition { ^~~~~~~~~~ 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 XmlOutputEventHandler.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:18: 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] 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 XmlOutputEventHandler.cxx:10: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ 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 XmlOutputEventHandler.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/EntityManager.h:15, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here class ConstPtr : private Ptr { ^~~~~~~~ In file included from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.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:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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 XmlOutputEventHandler.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] Vector::Vector(size_t n, const T &t) ^~~~~~~~~ In file included from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.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:36: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 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 XmlOutputEventHandler.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 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:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:5: 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:51: 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] memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/EntityManager.h:15, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ 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 XmlOutputEventHandler.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:5: 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:51: 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/EntityManager.h:15, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here class Ptr { ^~~ 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 XmlOutputEventHandler.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] 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 XmlOutputEventHandler.cxx:10: ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here class SP_API AttributeList { ^~~~~~~~~~~~~ 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 XmlOutputEventHandler.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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.cxx:9: ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 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 XmlOutputEventHandler.cxx:9: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ParsedSystemId::Map]' ../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::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.cxx:9: ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here struct SP_API Map { ^~~ XmlOutputEventHandler.cxx: In member function 'virtual void OpenSP::XmlOutputEventHandler::inputOpened(OpenSP::InputSource*)': XmlOutputEventHandler.cxx:1206:19: warning: ignoring return value of 'char* realpath(const char*, char*)', declared with attribute warn_unused_result [-Wunused-result] realpath((const char *)dirname(dirs), realDirs); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.cxx:1207:19: warning: ignoring return value of 'char* realpath(const char*, char*)', declared with attribute warn_unused_result [-Wunused-result] realpath((const char *)dirname(outputDir), realOutputDir); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.cxx: In member function 'void OpenSP::XmlOutputEventHandler::uniqueFilename(char*)': XmlOutputEventHandler.cxx:1538:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(numStr, "%d", num); ^~~~ In file included from /usr/include/stdio.h:873, from XmlOutputEventHandler.cxx:24: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 4 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/.libs/libosp.so -lpthread -Wl,--rpath -Wl,/usr/lib64 creating osx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' Making all in spcat make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make all-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spcat.o spcat.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spcat_inst.o spcat_inst.cxx In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from spcat.cxx:6: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::isNull; ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] Ptr::clear; ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from spcat.cxx:7: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); ~~^~~~~~~~~~~~~~~~~~~~~~~~~ spcat.cxx: In member function 'virtual void SpcatApp::processOption(OpenSP::CmdLineApp::AppChar, const AppChar*)': spcat.cxx:146:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (int i = 0; i < ret.size(); i++) ~~^~~~~~~~~~~~ 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 spcat.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] T *ptr_; ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 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 spcat.cxx:6: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 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] 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 spcat.cxx:6: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here class String { ^~~~~~ 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 spcat.cxx:6: ../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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15, from spcat.cxx:7: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here class SP_API Attribute { ^~~~~~~~~ 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 spcat.cxx:6: ../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] 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 spcat.cxx:7: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here class SP_API CharsetDeclRange { ^~~~~~~~~~~~~~~~ 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 spcat.cxx:6: ../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:18: 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] memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from spcat.cxx:7: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here struct SP_API MarkupItem { ^~~~~~~~~~ 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 spcat.cxx:6: ../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] 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 spcat.cxx:6: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 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 spcat.cxx:6: ../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] 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 spcat.cxx:6: ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here class SP_API MessageFragment { ^~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ospcat spcat.o spcat_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ospcat spcat.o spcat_inst.o ../lib/.libs/libosp.so -lpthread -Wl,--rpath -Wl,/usr/lib64 creating ospcat make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' Making all in docsrc make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man onsgmls.xml /usr/bin/xmlto man osgmlnorm.xml /usr/bin/xmlto man ospent.xml /usr/bin/xmlto man ospam.xml Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Note: Writing ospent.1 Note: Writing osgmlnorm.1 /usr/bin/xmlto man osx.xml Note: Writing ospam.1 /usr/bin/xmlto man ospcat.xml Note: Writing onsgmls.1 Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Note: Writing ospcat.1 Note: Writing osx.1 make all-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' /usr/bin/xmlto html-nochunks ./releasenotes.xml make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2' make[1]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.711xPv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 + cd OpenSP-1.5.2 + rm -rf /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 + make install DESTDIR=/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 make install-recursive make[1]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2' Making install in pubtext make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/pubtext' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/pubtext' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP" /usr/bin/install -c -m 644 'HTML32.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTML32.dcl' /usr/bin/install -c -m 644 'HTML32.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTML32.dtd' /usr/bin/install -c -m 644 'HTML32.soc' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTML32.soc' /usr/bin/install -c -m 644 'HTML4-f.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTML4-f.dtd' /usr/bin/install -c -m 644 'HTML4-s.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTML4-s.dtd' /usr/bin/install -c -m 644 'HTML4.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTML4.dcl' /usr/bin/install -c -m 644 'HTML4.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTML4.dtd' /usr/bin/install -c -m 644 'HTML4.soc' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTML4.soc' /usr/bin/install -c -m 644 'HTMLlat1.ent' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTMLlat1.ent' /usr/bin/install -c -m 644 'HTMLspec.ent' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTMLspec.ent' /usr/bin/install -c -m 644 'HTMLsym.ent' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/HTMLsym.ent' /usr/bin/install -c -m 644 'ISOlat1.ent' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/ISOlat1.ent' /usr/bin/install -c -m 644 'ISOlat1.sgm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/ISOlat1.sgm' /usr/bin/install -c -m 644 'html-1.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/html-1.dtd' /usr/bin/install -c -m 644 'html-1s.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/html-1s.dtd' /usr/bin/install -c -m 644 'html-s.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/html-s.dtd' /usr/bin/install -c -m 644 'html.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/html.dcl' /usr/bin/install -c -m 644 'html.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/html.dtd' /usr/bin/install -c -m 644 'html.soc' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/html.soc' /usr/bin/install -c -m 644 'xml.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/xml.dcl' /usr/bin/install -c -m 644 'xml.soc' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/xml.soc' /usr/bin/install -c -m 644 'japan.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/japan.dcl' /usr/bin/install -c -m 644 'opensp-implied.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/opensp-implied.dcl' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/pubtext' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/pubtext' Making install in unicode make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/unicode' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/unicode' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP" /usr/bin/install -c -m 644 'catalog' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/catalog' /usr/bin/install -c -m 644 'demo.sgm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/demo.sgm' /usr/bin/install -c -m 644 'gensyntax.pl' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/gensyntax.pl' /usr/bin/install -c -m 644 'unicode.sd' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/unicode.sd' /usr/bin/install -c -m 644 'unicode.syn' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP/unicode.syn' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/unicode' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/unicode' Making install in doc make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/doc' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/doc' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/doc/OpenSP/doc" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc" /usr/bin/install -c -m 644 'archform.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/archform.htm' /usr/bin/install -c -m 644 'build.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/build.htm' /usr/bin/install -c -m 644 'catalog.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/catalog.htm' /usr/bin/install -c -m 644 'charset.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/charset.htm' /usr/bin/install -c -m 644 'features.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/features.htm' /usr/bin/install -c -m 644 'generic.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/generic.htm' /usr/bin/install -c -m 644 'ideas.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/ideas.htm' /usr/bin/install -c -m 644 'index.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/index.htm' /usr/bin/install -c -m 644 'new.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/new.htm' /usr/bin/install -c -m 644 'nsgmls.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/nsgmls.htm' /usr/bin/install -c -m 644 'sgmldecl.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/sgmldecl.htm' /usr/bin/install -c -m 644 'sgmlnorm.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/sgmlnorm.htm' /usr/bin/install -c -m 644 'sgmlsout.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/sgmlsout.htm' /usr/bin/install -c -m 644 'spam.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/spam.htm' /usr/bin/install -c -m 644 'spcat.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/spcat.htm' /usr/bin/install -c -m 644 'spent.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/spent.htm' /usr/bin/install -c -m 644 'sx.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/sx.htm' /usr/bin/install -c -m 644 'sysdecl.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/sysdecl.htm' /usr/bin/install -c -m 644 'sysid.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/sysid.htm' /usr/bin/install -c -m 644 'xml.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/xml.htm' /usr/bin/install -c -m 644 'xmlwarn.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/xmlwarn.htm' /usr/bin/install -c -m 644 'autoconf.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/doc/autoconf.htm' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/doc' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/doc' Making install in include make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/include' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/include' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/include/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP" /usr/bin/install -c -m 644 'Allocator.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Allocator.h' /usr/bin/install -c -m 644 'ArcEngine.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ArcEngine.h' /usr/bin/install -c -m 644 'Attribute.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Attribute.h' /usr/bin/install -c -m 644 'Attributed.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Attributed.h' /usr/bin/install -c -m 644 'Big5CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Big5CodingSystem.h' /usr/bin/install -c -m 644 'Boolean.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Boolean.h' /usr/bin/install -c -m 644 'CharMap.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CharMap.cxx' /usr/bin/install -c -m 644 'CharMap.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CharMap.h' /usr/bin/install -c -m 644 'CharsetDecl.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CharsetDecl.h' /usr/bin/install -c -m 644 'CharsetInfo.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CharsetInfo.h' /usr/bin/install -c -m 644 'CharsetRegistry.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CharsetRegistry.h' /usr/bin/install -c -m 644 'CmdLineApp.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CmdLineApp.h' /usr/bin/install -c -m 644 'CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CodingSystem.h' /usr/bin/install -c -m 644 'CodingSystemKit.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CodingSystemKit.h' /usr/bin/install -c -m 644 'ConsoleOutput.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ConsoleOutput.h' /usr/bin/install -c -m 644 'ContentState.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ContentState.h' /usr/bin/install -c -m 644 'ContentToken.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ContentToken.h' /usr/bin/install -c -m 644 'CopyOwner.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CopyOwner.cxx' /usr/bin/install -c -m 644 'CopyOwner.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/CopyOwner.h' /usr/bin/install -c -m 644 'DescriptorManager.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/DescriptorManager.h' /usr/bin/install -c -m 644 'Dtd.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Dtd.h' /usr/bin/install -c -m 644 'EUCJPCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/EUCJPCodingSystem.h' /usr/bin/install -c -m 644 'ElementType.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ElementType.h' /usr/bin/install -c -m 644 'Entity.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Entity.h' /usr/bin/install -c -m 644 'EntityApp.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/EntityApp.h' /usr/bin/install -c -m 644 'EntityCatalog.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/EntityCatalog.h' /usr/bin/install -c -m 644 'EntityDecl.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/EntityDecl.h' /usr/bin/install -c -m 644 'EntityManager.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/EntityManager.h' /usr/bin/install -c -m 644 'ErrnoMessageArg.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ErrnoMessageArg.h' /usr/bin/install -c -m 644 'ErrorCountEventHandler.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ErrorCountEventHandler.h' /usr/bin/install -c -m 644 'Event.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Event.h' /usr/bin/install -c -m 644 'EventsWanted.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/EventsWanted.h' /usr/bin/install -c -m 644 'ExtendEntityManager.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ExtendEntityManager.h' /usr/bin/install -c -m 644 'ExternalId.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ExternalId.h' /usr/bin/install -c -m 644 'Fixed2CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Fixed2CodingSystem.h' /usr/bin/install -c -m 644 'GenericEventHandler.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/GenericEventHandler.h' /usr/bin/install -c -m 644 'Hash.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Hash.h' /usr/bin/install -c -m 644 'HashTable.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/HashTable.cxx' /usr/bin/install -c -m 644 'HashTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/HashTable.h' /usr/bin/install -c -m 644 'HashTableItemBase.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/HashTableItemBase.cxx' /usr/bin/install -c -m 644 'HashTableItemBase.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/HashTableItemBase.h' /usr/bin/install -c -m 644 'IList.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/IList.h' /usr/bin/install -c -m 644 'IListBase.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/IListBase.h' /usr/bin/install -c -m 644 'IListIter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/IListIter.h' /usr/bin/install -c -m 644 'IListIterBase.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/IListIterBase.h' /usr/bin/install -c -m 644 'IQueue.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/IQueue.cxx' /usr/bin/install -c -m 644 'IQueue.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/IQueue.h' /usr/bin/install -c -m 644 'ISet.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ISet.cxx' /usr/bin/install -c -m 644 'ISet.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ISet.h' /usr/bin/install -c -m 644 'ISetIter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ISetIter.h' /usr/bin/install -c -m 644 'IdentityCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/IdentityCodingSystem.h' /usr/bin/install -c -m 644 'InputSource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/InputSource.h' /usr/bin/install -c -m 644 'InternalInputSource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/InternalInputSource.h' /usr/bin/install -c -m 644 'Link.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Link.h' /usr/bin/install -c -m 644 'LinkProcess.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/LinkProcess.h' /usr/bin/install -c -m 644 'List.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/List.cxx' /usr/bin/install -c -m 644 'List.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/List.h' /usr/bin/install -c -m 644 'ListIter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ListIter.h' /usr/bin/install -c -m 644 'LiteralStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/LiteralStorage.h' /usr/bin/install -c -m 644 'Location.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Location.h' /usr/bin/install -c -m 644 'Lpd.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Lpd.h' /usr/bin/install -c -m 644 'Markup.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Markup.h' /usr/bin/install -c -m 644 'Message.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Message.h' /usr/bin/install -c -m 644 'MessageArg.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/MessageArg.h' /usr/bin/install -c -m 644 'MessageBuilder.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/MessageBuilder.h' /usr/bin/install -c -m 644 'MessageEventHandler.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/MessageEventHandler.h' /usr/bin/install -c -m 644 'MessageFormatter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/MessageFormatter.h' /usr/bin/install -c -m 644 'MessageModule.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/MessageModule.h' /usr/bin/install -c -m 644 'MessageReporter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/MessageReporter.h' /usr/bin/install -c -m 644 'MessageTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/MessageTable.h' /usr/bin/install -c -m 644 'Mode.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Mode.h' /usr/bin/install -c -m 644 'NCVector.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/NCVector.h' /usr/bin/install -c -m 644 'Named.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Named.h' /usr/bin/install -c -m 644 'NamedResource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/NamedResource.h' /usr/bin/install -c -m 644 'NamedResourceTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/NamedResourceTable.h' /usr/bin/install -c -m 644 'NamedTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/NamedTable.h' /usr/bin/install -c -m 644 'Notation.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Notation.h' /usr/bin/install -c -m 644 'NotationStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/NotationStorage.h' /usr/bin/install -c -m 644 'OpenElement.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/OpenElement.h' /usr/bin/install -c -m 644 'Options.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Options.cxx' /usr/bin/install -c -m 644 'Options.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Options.h' /usr/bin/install -c -m 644 'OutputByteStream.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/OutputByteStream.h' /usr/bin/install -c -m 644 'OutputCharStream.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/OutputCharStream.h' /usr/bin/install -c -m 644 'Owner.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Owner.cxx' /usr/bin/install -c -m 644 'Owner.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Owner.h' /usr/bin/install -c -m 644 'OwnerTable.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/OwnerTable.cxx' /usr/bin/install -c -m 644 'OwnerTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/OwnerTable.h' /usr/bin/install -c -m 644 'ParserApp.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ParserApp.h' /usr/bin/install -c -m 644 'ParserOptions.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ParserOptions.h' /usr/bin/install -c -m 644 'PointerTable.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/PointerTable.cxx' /usr/bin/install -c -m 644 'PointerTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/PointerTable.h' /usr/bin/install -c -m 644 'PosixStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/PosixStorage.h' /usr/bin/install -c -m 644 'Ptr.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Ptr.cxx' /usr/bin/install -c -m 644 'Ptr.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Ptr.h' /usr/bin/install -c -m 644 'RangeMap.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/RangeMap.cxx' /usr/bin/install -c -m 644 'RangeMap.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/RangeMap.h' /usr/bin/install -c -m 644 'Resource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Resource.h' /usr/bin/install -c -m 644 'RewindStorageObject.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/RewindStorageObject.h' /usr/bin/install -c -m 644 'SJISCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/SJISCodingSystem.h' /usr/bin/install -c -m 644 'SOEntityCatalog.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/SOEntityCatalog.h' /usr/bin/install -c -m 644 'Sd.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Sd.h' /usr/bin/install -c -m 644 'SdText.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/SdText.h' /usr/bin/install -c -m 644 'SearchResultMessageArg.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/SearchResultMessageArg.h' /usr/bin/install -c -m 644 'SgmlParser.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/SgmlParser.h' /usr/bin/install -c -m 644 'ShortReferenceMap.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ShortReferenceMap.h' /usr/bin/install -c -m 644 'StdioStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/StdioStorage.h' /usr/bin/install -c -m 644 'StorageManager.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/StorageManager.h' /usr/bin/install -c -m 644 'StringC.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/StringC.h' /usr/bin/install -c -m 644 'StringOf.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/StringOf.cxx' /usr/bin/install -c -m 644 'StringOf.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/StringOf.h' /usr/bin/install -c -m 644 'StringResource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/StringResource.h' /usr/bin/install -c -m 644 'SubstTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/SubstTable.h' /usr/bin/install -c -m 644 'Syntax.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Syntax.h' /usr/bin/install -c -m 644 'Text.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Text.h' /usr/bin/install -c -m 644 'TranslateCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/TranslateCodingSystem.h' /usr/bin/install -c -m 644 'TypeId.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/TypeId.h' /usr/bin/install -c -m 644 'URLStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/URLStorage.h' /usr/bin/install -c -m 644 'UTF8CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/UTF8CodingSystem.h' /usr/bin/install -c -m 644 'UnicodeCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/UnicodeCodingSystem.h' /usr/bin/install -c -m 644 'UnivCharsetDesc.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/UnivCharsetDesc.h' /usr/bin/install -c -m 644 'Vector.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Vector.cxx' /usr/bin/install -c -m 644 'Vector.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Vector.h' /usr/bin/install -c -m 644 'XMLCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/XMLCodingSystem.h' /usr/bin/install -c -m 644 'XcharMap.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/XcharMap.cxx' /usr/bin/install -c -m 644 'XcharMap.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/XcharMap.h' /usr/bin/install -c -m 644 'constant.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/constant.h' /usr/bin/install -c -m 644 'macros.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/macros.h' /usr/bin/install -c -m 644 'rtti.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/rtti.h' /usr/bin/install -c -m 644 'sptchar.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/sptchar.h' /usr/bin/install -c -m 644 'types.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/types.h' /usr/bin/install -c -m 644 'xnew.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/xnew.h' /usr/bin/install -c -m 644 'UTF16CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/UTF16CodingSystem.h' /usr/bin/install -c -m 644 'Fixed4CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/Fixed4CodingSystem.h' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/include' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/include' Making install in generic make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/generic' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/generic' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/include/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP" /usr/bin/install -c -m 644 'ParserEventGeneratorKit.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/ParserEventGeneratorKit.h' /usr/bin/install -c -m 644 'EventGenerator.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/EventGenerator.h' /usr/bin/install -c -m 644 'SGMLApplication.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/SGMLApplication.h' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/generic' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/generic' Making install in intl make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/intl' if { test "OpenSP" = "gettext-runtime" || test "OpenSP" = "gettext-tools"; } \ && test 'no' = yes; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64 /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include; \ /usr/bin/install -c -m 644 libintl.h /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/libintl.h; \ /bin/sh ../libtool --mode=install \ /usr/bin/install -c -m 644 libintl.a /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libintl.a; \ if test "@RELOCATABLE@" = yes; then \ dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libintl.la | sed -e "s,^',," -e "s,'\$,,"`; \ if test -n "$dependencies"; then \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libintl.la; \ fi; \ fi; \ else \ : ; \ fi if test "OpenSP" = "gettext-tools" \ && test 'no' = no \ && test yes != no; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64; \ /bin/sh ../libtool --mode=install \ /usr/bin/install -c -m 644 libgnuintl.a /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libgnuintl.a; \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/preloadable_libintl.so; \ /usr/bin/install -c -m 644 /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libgnuintl.so /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/preloadable_libintl.so; \ /bin/sh ../libtool --mode=uninstall \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libgnuintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ test yes != no || /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64; \ temp=/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/t-charset.alias; \ dest=/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/charset.alias; \ if test -f /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/charset.alias; then \ orig=/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ if test yes = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale; \ test -f /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/locale.alias \ && orig=/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/t-locale.alias; \ dest=/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "OpenSP" = "gettext-tools"; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/intl; \ /usr/bin/install -c -m 644 VERSION /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/intl/VERSION; \ /usr/bin/install -c -m 644 ChangeLog.inst /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h loadinfo.h plural-exp.h eval-plural.h localcharset.h relocatable.h xsize.h printf-args.h printf-args.c printf-parse.h wprintf-parse.h printf-parse.c vasnprintf.h vasnwprintf.h vasnprintf.c os2compat.h libgnuintl.h.in bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c relocatable.c langprefs.c localename.c log.c printf.c osdep.c os2compat.c intl-compat.c"; \ for file in $dists; do \ /usr/bin/install -c -m 644 ./$file \ /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/intl/$file; \ done; \ chmod a+x /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /usr/bin/install -c -m 644 $dir/$file \ /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h"; \ for file in $dists; do \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/intl' Making install in po make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/po' /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/de/LC_MESSAGES installing de.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/de/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/fr/LC_MESSAGES installing fr.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/fr/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/ja/LC_MESSAGES installing ja.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/ja/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/sv/LC_MESSAGES installing sv.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/sv/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/tr/LC_MESSAGES installing tr.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/locale/tr/LC_MESSAGES/sp5.mo if test "sp5" = "gettext-tools"; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/po' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make install-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[4]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' test -z "/usr/lib64" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libosp.la' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libosp.la' /usr/bin/install -c .libs/libosp.so.5.0.0 /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libosp.so.5.0.0 (cd /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64 && rm -f libosp.so.5 && ln -s libosp.so.5.0.0 libosp.so.5) (cd /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64 && rm -f libosp.so && ln -s libosp.so.5.0.0 libosp.so) /usr/bin/install -c .libs/libosp.lai /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libosp.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' Making install in nsgmls make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make install-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make[4]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'onsgmls' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/onsgmls' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/onsgmls /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/onsgmls make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' Making install in spent make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make install-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make[4]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'ospent' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospent' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/ospent /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospent make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' Making install in spam make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make install-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make[4]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'ospam' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospam' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/ospam /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospam make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' Making install in sgmlnorm make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make install-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make[4]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'osgmlnorm' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/osgmlnorm' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/osgmlnorm /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/osgmlnorm make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' Making install in sx make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make install-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make[4]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'osx' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/osx' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/osx /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/osx make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' Making install in spcat make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make install-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make[4]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'ospcat' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospcat' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/ospcat /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospcat make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' Making install in tests make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' Making install in docsrc make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make install-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make[4]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make[4]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1" /usr/bin/install -c -m 644 './onsgmls.1' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1/onsgmls.1' /usr/bin/install -c -m 644 './osgmlnorm.1' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1/osgmlnorm.1' /usr/bin/install -c -m 644 './ospent.1' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1/ospent.1' /usr/bin/install -c -m 644 './ospam.1' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1/ospam.1' /usr/bin/install -c -m 644 './osx.1' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1/osx.1' /usr/bin/install -c -m 644 './ospcat.1' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1/ospcat.1' test -z "/usr/share/doc/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP" /usr/bin/install -c -m 644 'releasenotes.html' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/releasenotes.html' make[4]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/doc/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP" /usr/bin/install -c -m 644 'README' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/README' /usr/bin/install -c -m 644 'ABOUT-NLS' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/ABOUT-NLS' /usr/bin/install -c -m 644 'NEWS' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/NEWS' /usr/bin/install -c -m 644 'COPYING' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/COPYING' /usr/bin/install -c -m 644 'AUTHORS' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/AUTHORS' /usr/bin/install -c -m 644 'BUGS' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/BUGS' /usr/bin/install -c -m 644 'ChangeLog' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP/ChangeLog' test -z "/usr/include/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP" /usr/bin/install -c -m 644 'config.h' '/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/include/OpenSP/config.h' make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2' make[1]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2' + rm /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libosp.la + for file in nsgmls sgmlnorm spam spent sx + ln -s onsgmls /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/nsgmls + echo '.so man1/onsgmls.1' + for file in nsgmls sgmlnorm spam spent sx + ln -s osgmlnorm /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/sgmlnorm + echo '.so man1/osgmlnorm.1' + for file in nsgmls sgmlnorm spam spent sx + ln -s ospam /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/spam + echo '.so man1/ospam.1' + for file in nsgmls sgmlnorm spam spent sx + ln -s ospent /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/spent + echo '.so man1/ospent.1' + for file in nsgmls sgmlnorm spam spent sx + ln -s osx /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/sx + echo '.so man1/osx.1' + mv /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/sx /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/sgml2xml + mv /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1/sx.1 /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/man/man1/sgml2xml.1 + rm -rf /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/OpenSP + rm -rf /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/OpenSP + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 sp5 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5.2-34.el8 --unique-debug-suffix -1.5.2-34.el8.aarch64 --unique-debug-src-base opensp-1.5.2-34.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/OpenSP-1.5.2 extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/osgmlnorm extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospam extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/onsgmls extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospcat extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/ospent extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/bin/osx extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/lib64/libosp.so.5.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. 3461 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ziGmew + umask 022 + cd /builddir/build/BUILD + cd OpenSP-1.5.2 + make check make check-recursive make[1]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2' Making check in pubtext make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/pubtext' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/pubtext' Making check in unicode make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/unicode' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/unicode' Making check in doc make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/doc' Making check in include make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/include' Making check in generic make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/generic' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/generic' Making check in intl make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/intl' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/intl' Making check in po make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/po' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/po' Making check in lib make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make check-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' Making check in nsgmls make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make check-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' Making check in spent make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make check-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' Making check in spam make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make check-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' Making check in sgmlnorm make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make check-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' Making check in sx make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make check-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' Making check in spcat make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make check-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' Making check in tests make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:onsgmls-1.sgml:6:10:E: end tag for "DOC" omitted, but OMITTAG NO was specified /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:onsgmls-1.sgml:6:0: start tag was here 4d3 < C FAIL: onsgmls-1 1a2,3 > /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:0:6:10:E: end tag for "DOC" omitted, but OMITTAG NO was specified > /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:0:6:0: start tag was here FAIL: onsgmls-2 /builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm/.libs/lt-osgmlnorm:osnorm-1.sgml:6:10:E: end tag for "DOC" omitted, but OMITTAG NO was specified /builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm/.libs/lt-osgmlnorm:osnorm-1.sgml:6:0: start tag was here PASS: osnorm-1 PASS: af-1 PASS: af-2 PASS: af-3 PASS: af-4 PASS: af-5 PASS: af-6 PASS: af-12 PASS: af-13 PASS: af-14 PASS: af-15 PASS: af-16 PASS: af-18 PASS: af-19 /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:E: error reading "./cat-2/" (Is a directory) /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:cat-test2.in1:2:7:E: end tag for "HTML" omitted, but OMITTAG NO was specified /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:cat-test2.in1:2:0: start tag was here FAIL: catalog-2 /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:af-7.sgml:3:1:E: value of attribute "TYPE" cannot be "A"; must be one of "ZZZ", "YYY" 2c2 < ATYPE TOKEN YYY --- > ATYPE TOKEN A FAIL: af-7 /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:af-8.sgml:3:1:E: value of attribute "ROLE" cannot be "A"; must be one of "ZZZ", "YYY" 2c2 < AROLE TOKEN YYY --- > AROLE TOKEN A FAIL: af-8 3c3 < AN CDATA verse 1 --- > AN CDATA 1 7c7 < AN CDATA verse 2 --- > AN CDATA 2 FAIL: af-9 4c4 < ATEXT CDATA verse 1 --- > ATEXT IMPLIED 8c8 < ATEXT CDATA verse 2 --- > ATEXT IMPLIED FAIL: af-10 3c3 < ATEXT CDATA verse 1 --- > ATEXT IMPLIED 5c5 < -1 --- > -verse 1 7c7 < ATEXT CDATA verse 2 --- > ATEXT IMPLIED 9c9 < -2 --- > -verse 2 FAIL: af-11 /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:cat-test1.in1:4:7:E: end tag for "HTML" omitted, but OMITTAG NO was specified /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:cat-test1.in1:4:0: start tag was here FAIL: catalog-1 ==================== 9 of 23 tests failed ==================== make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' make[3]: *** [Makefile:289: check-TESTS] Error 1 make[2]: *** [Makefile:389: check-am] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' make[1]: *** [Makefile:384: check-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2' make: *** [Makefile:658: check] Error 2 + : + exit 0 Processing files: opensp-1.5.2-34.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.u6JHhw + umask 022 + cd /builddir/build/BUILD + cd OpenSP-1.5.2 + DOCDIR=/builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr doc/archform.htm doc/autoconf.htm doc/build.htm doc/catalog.htm doc/charset.htm doc/features.htm doc/generic.htm doc/ideas.htm doc/index.htm doc/new.htm doc/nsgmls.htm doc/sgmldecl.htm doc/sgmlnorm.htm doc/sgmlsout.htm doc/spam.htm doc/spcat.htm doc/spent.htm doc/sx.htm doc/sysdecl.htm doc/sysid.htm doc/xml.htm doc/xmlwarn.htm /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr docsrc/releasenotes.html /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr AUTHORS /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr BUGS /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr COPYING /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr ChangeLog /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr NEWS /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr README /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + cp -pr pubtext/opensp-implied.dcl /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64/usr/share/doc/opensp + exit 0 Provides: bundled(gettext) = 0.14.5 libosp.so.5()(64bit) opensp = 1.5.2-34.el8 opensp(aarch-64) = 1.5.2-34.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libosp.so.5()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: opensp-devel-1.5.2-34.el8.aarch64 Provides: opensp-devel = 1.5.2-34.el8 opensp-devel(aarch-64) = 1.5.2-34.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libosp.so.5()(64bit) Processing files: opensp-debugsource-1.5.2-34.el8.aarch64 Provides: opensp-debugsource = 1.5.2-34.el8 opensp-debugsource(aarch-64) = 1.5.2-34.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: opensp-debuginfo-1.5.2-34.el8.aarch64 Provides: debuginfo(build-id) = 268f2e8f0b89e47b069fa9ba4dae7abc6a80ab44 debuginfo(build-id) = 3e8b16f0d0258ab6a24d70d7fe8e92d20b819431 debuginfo(build-id) = 82d19ebfc18a60378787e5a39b642731a4b33203 debuginfo(build-id) = 98f2acf8c7f4afa4f2d7fc3552b8e55d5bead00a debuginfo(build-id) = c0d99c9f471a9c589d032f10adb73c03cecff7fc debuginfo(build-id) = d7b3dfe5ae99a7970f45264b6edd2fd3bffa9b04 debuginfo(build-id) = ebd60bc80580e46a218ebd36a8ec00202c002045 opensp-debuginfo = 1.5.2-34.el8 opensp-debuginfo(aarch-64) = 1.5.2-34.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opensp-debugsource(aarch-64) = 1.5.2-34.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 Wrote: /builddir/build/RPMS/opensp-1.5.2-34.el8.aarch64.rpm Wrote: /builddir/build/RPMS/opensp-devel-1.5.2-34.el8.aarch64.rpm Wrote: /builddir/build/RPMS/opensp-debugsource-1.5.2-34.el8.aarch64.rpm Wrote: /builddir/build/RPMS/opensp-debuginfo-1.5.2-34.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.32tcyt + umask 022 + cd /builddir/build/BUILD + cd OpenSP-1.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/opensp-1.5.2-34.el8.aarch64 + exit 0 Child return code was: 0