Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/opensp.spec'], chrootPath='/var/lib/mock/dist-oc9-build-47457-14592/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/opensp-1.5.2-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/opensp.spec'], chrootPath='/var/lib/mock/dist-oc9-build-47457-14592/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k88ddV + 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 . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/opensp-multilib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/opensp-nodeids.patch + /usr/bin/cat /builddir/build/SOURCES/opensp-sigsegv.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/opensp-manpage.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.krIFVY + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd OpenSP-1.5.2 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2005-12-23 22:15:56.000000000 +0800 +++ ./configure 2023-09-19 15:06:37.892362090 +0800 @@ -9008,7 +9008,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -9168,7 +9168,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -12821,7 +12821,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -12981,7 +12981,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -18610,7 +18610,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -18770,7 +18770,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -22073,7 +22073,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -22397,7 +22397,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -25361,7 +25361,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -31462,7 +31462,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -31574,7 +31574,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-09-19 15:06:37.892362090 +0800 +++ ./configure 2023-09-19 15:06:37.948362202 +0800 @@ -22706,10 +22706,7 @@ exit (sig != SIGFPE); } -int x = 1; -int y = 0; -int z; -int nan; +volatile int x = 1; volatile int y = 0; volatile int z, nan; int main () { + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-09-19 15:06:37.948362202 +0800 +++ ./configure 2023-09-19 15:06:37.960362226 +0800 @@ -6044,7 +6044,7 @@ sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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-static --enable-http --disable-dependency-tracking --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-opencloudos-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for aarch64-opencloudos-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) no checking for perl... no checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-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-opencloudos-linux-gnu-g77... no checking for aarch64-opencloudos-linux-gnu-f77... no checking for aarch64-opencloudos-linux-gnu-xlf... no checking for aarch64-opencloudos-linux-gnu-frt... no checking for aarch64-opencloudos-linux-gnu-pgf77... no checking for aarch64-opencloudos-linux-gnu-fort77... no checking for aarch64-opencloudos-linux-gnu-fl32... no checking for aarch64-opencloudos-linux-gnu-af77... no checking for aarch64-opencloudos-linux-gnu-f90... no checking for aarch64-opencloudos-linux-gnu-xlf90... no checking for aarch64-opencloudos-linux-gnu-pgf90... no checking for aarch64-opencloudos-linux-gnu-epcf90... no checking for aarch64-opencloudos-linux-gnu-f95... no checking for aarch64-opencloudos-linux-gnu-fort... no checking for aarch64-opencloudos-linux-gnu-xlf95... no checking for aarch64-opencloudos-linux-gnu-ifc... no checking for aarch64-opencloudos-linux-gnu-efc... no checking for aarch64-opencloudos-linux-gnu-pgf95... no checking for aarch64-opencloudos-linux-gnu-lf95... no checking for aarch64-opencloudos-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 262144 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for aarch64-opencloudos-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-opencloudos-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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 make all-recursive Making all in pubtext make[2]: Nothing to be done for 'all'. Making all in unicode make[2]: Nothing to be done for 'all'. Making all in doc make[2]: Nothing to be done for 'all'. Making all in include make[2]: Nothing to be done for 'all'. Making all in generic make[2]: Nothing to be done for 'all'. Making all in intl make[2]: Nothing to be done for 'all'. Making all in po make[2]: Nothing to be done for 'all'. Making all in lib make all-am make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Allocator.lo Allocator.cxx mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Allocator.cxx -fPIC -DPIC -o .libs/Allocator.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from Allocator.cxx:5: ../include/Allocator.h: In constructor 'OpenSP::Allocator::Allocator(size_t, unsigned int)': ../include/Allocator.h:57:12: warning: 'OpenSP::Allocator::blocksPerSegment_' will be initialized after [-Wreorder] 57 | unsigned blocksPerSegment_; | ^~~~~~~~~~~~~~~~~ ../include/Allocator.h:55:10: warning: 'OpenSP::Allocator::Block* OpenSP::Allocator::freeList_' [-Wreorder] 55 | Block *freeList_; | ^~~~~~~~~ Allocator.cxx:12:1: warning: when initialized here [-Wreorder] 12 | Allocator::Allocator(size_t maxSize, unsigned blocksPerSegment) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Big5CodingSystem.lo Big5CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Big5CodingSystem.cxx -fPIC -DPIC -o .libs/Big5CodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o CharsetRegistry.lo CharsetRegistry.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c CharsetRegistry.cxx -fPIC -DPIC -o .libs/CharsetRegistry.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' CharsetRegistry.cxx: In member function 'virtual OpenSP::Boolean OpenSP::CharsetRegistryDescIter::next(OpenSP::WideChar&, OpenSP::WideChar&, OpenSP::UnivChar&)': CharsetRegistry.cxx:56:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 56 | for (; i < n_; i++) | ~~^~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CharsetRegistry.h:13, from CharsetRegistry.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o CharsetInfo.lo CharsetInfo.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c CharsetInfo.cxx -fPIC -DPIC -o .libs/CharsetInfo.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from CharsetInfo.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o CharsetDecl.lo CharsetDecl.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c CharsetDecl.cxx -fPIC -DPIC -o .libs/CharsetDecl.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ExternalId.h:12, from ../include/CharsetDecl.h:12, from CharsetDecl.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/CharsetDecl.h: In constructor 'OpenSP::CharsetDeclRange::CharsetDeclRange(OpenSP::WideChar, OpenSP::Number, OpenSP::WideChar)': ../include/CharsetDecl.h:46:8: warning: 'OpenSP::CharsetDeclRange::type_' will be initialized after [-Wreorder] 46 | Type type_; | ^~~~~ ../include/CharsetDecl.h:45:12: warning: 'OpenSP::WideChar OpenSP::CharsetDeclRange::baseMin_' [-Wreorder] 45 | WideChar baseMin_; | ^~~~~~~~ CharsetDecl.cxx:25:1: warning: when initialized here [-Wreorder] 25 | CharsetDeclRange::CharsetDeclRange(WideChar descMin, Number count, | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/CharsetDecl.h:11: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]' CharsetDecl.cxx:183:26: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o CodingSystem.lo CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c CodingSystem.cxx -fPIC -DPIC -o .libs/CodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o CmdLineApp.lo CmdLineApp.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c CmdLineApp.cxx -fPIC -DPIC -o .libs/CmdLineApp.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from CmdLineApp.cxx:12: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/CmdLineApp.h: In constructor 'OpenSP::CmdLineApp::CmdLineApp(const char*)': ../include/CmdLineApp.h:74:23: warning: 'OpenSP::CmdLineApp::outputCodingSystem_' will be initialized after [-Wreorder] 74 | const CodingSystem *outputCodingSystem_; | ^~~~~~~~~~~~~~~~~~~ CmdLineApp.cxx:81:23: warning: base 'OpenSP::MessageReporter' [-Wreorder] 81 | action_(normalAction) | ^ CmdLineApp.cxx:75:1: warning: when initialized here [-Wreorder] 75 | CmdLineApp::CmdLineApp(const char *requiredInternalCode) | ^~~~~~~~~~ ../include/CmdLineApp.h:92:23: warning: 'OpenSP::CmdLineApp::codingSystem_' will be initialized after [-Wreorder] 92 | const CodingSystem *codingSystem_; | ^~~~~~~~~~~~~ ../include/CmdLineApp.h:87:7: warning: 'int OpenSP::CmdLineApp::action_' [-Wreorder] 87 | int action_; | ^~~~~~~ CmdLineApp.cxx:75:1: warning: when initialized here [-Wreorder] 75 | CmdLineApp::CmdLineApp(const char *requiredInternalCode) | ^~~~~~~~~~ In file included from splib.h:7, from CmdLineApp.cxx:11: CmdLineApp.cxx: In member function 'virtual int OpenSP::CmdLineApp::init(int, AppChar**)': ../config.h:376:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 376 | #define SP_MESSAGE_DOMAIN "sp5" | ^~~~~ CmdLineApp.cxx:327:51: note: in expansion of macro 'SP_MESSAGE_DOMAIN' 327 | SP_MESSAGE_DOMAIN, | ^~~~~~~~~~~~~~~~~ ../config.h:370:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | #define SP_LOCALE_DIR "/usr/share/locale" | ^~~~~~~~~~~~~~~~~~~ CmdLineApp.cxx:328:51: note: in expansion of macro 'SP_LOCALE_DIR' 328 | SP_LOCALE_DIR); | ^~~~~~~~~~~~~ ../config.h:376:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 376 | #define SP_MESSAGE_DOMAIN "sp5" | ^~~~~ CmdLineApp.cxx:330:51: note: in expansion of macro 'SP_MESSAGE_DOMAIN' 330 | SP_MESSAGE_DOMAIN, | ^~~~~~~~~~~~~~~~~ ../config.h:370:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | #define SP_LOCALE_DIR "/usr/share/locale" | ^~~~~~~~~~~~~~~~~~~ CmdLineApp.cxx:331:51: note: in expansion of macro 'SP_LOCALE_DIR' 331 | SP_LOCALE_DIR); | ^~~~~~~~~~~~~ CmdLineApp.cxx: In member function 'int OpenSP::CmdLineApp::run(int, AppChar**)': CmdLineApp.cxx:365:13: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 365 | bad_alloc) { | ^~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::CopyOwner; size_t = long unsigned int]': CmdLineApp.cxx:199:40: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/CmdLineApp.h:25: ../include/Options.cxx: In instantiation of 'OpenSP::Options::Options(int, T* const*, const OpenSP::Vector >&) [with T = char]': CmdLineApp.cxx:379:45: required from here ../include/Options.h:41:7: warning: 'OpenSP::Options::argc_' will be initialized after [-Wreorder] 41 | int argc_; | ^~~~~ ../include/Options.h:40:13: warning: 'char* const* OpenSP::Options::argv_' [-Wreorder] 40 | T *const *argv_; | ^~~~~ In file included from ../include/Options.h:57: ../include/Options.cxx:15:1: warning: when initialized here [-Wreorder] 15 | Options::Options(int argc, T *const *argv, const Vector > &l) | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' CmdLineApp.cxx:81:23: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' CmdLineApp.cxx:81:23: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' CmdLineApp.cxx:199:40: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:14: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' CmdLineApp.cxx:222:19: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::LongOption]': ../include/Options.cxx:16:46: required from 'OpenSP::Options::Options(int, T* const*, const OpenSP::Vector >&) [with T = char]' CmdLineApp.cxx:379:45: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Options.cxx: In instantiation of 'bool OpenSP::Options::search(T) [with T = char]': ../include/Options.cxx:99:8: required from 'bool OpenSP::Options::get(T&) [with T = char]' CmdLineApp.cxx:381:21: required from here ../include/Options.cxx:23:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 23 | for (optInd_ = 0; optInd_ < opts_.size(); optInd_++) | ~~~~~~~~^~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o CodingSystemKit.lo CodingSystemKit.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c CodingSystemKit.cxx -fPIC -DPIC -o .libs/CodingSystemKit.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/TranslateCodingSystem.h:8, from CodingSystemKit.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ CodingSystemKit.cxx: In constructor 'OpenSP::CodingSystemKitImpl::CodingSystemKitImpl(const OpenSP::TranslateCodingSystem::Desc*)': CodingSystemKit.cxx:129:38: warning: 'OpenSP::CodingSystemKitImpl::systemCharsetDesc_' will be initialized after [-Wreorder] 129 | const TranslateCodingSystem::Desc *systemCharsetDesc_; | ^~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:103:19: warning: 'OpenSP::XMLCodingSystem OpenSP::CodingSystemKitImpl::xmlCodingSystem_' [-Wreorder] 103 | XMLCodingSystem xmlCodingSystem_; | ^~~~~~~~~~~~~~~~ CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder] 329 | CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc) | ^~~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:121:25: warning: 'OpenSP::CodingSystemKitImpl::koi8_rCodingSystem_' will be initialized after [-Wreorder] 121 | TranslateCodingSystem koi8_rCodingSystem_; | ^~~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:107:25: warning: 'OpenSP::TranslateCodingSystem OpenSP::CodingSystemKitImpl::eucjpCodingSystem_' [-Wreorder] 107 | TranslateCodingSystem eucjpCodingSystem_; | ^~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder] 329 | CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc) | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CodingSystemKit.h:15, from CodingSystemKit.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ConsoleOutput.lo ConsoleOutput.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ConsoleOutput.cxx -fPIC -DPIC -o .libs/ConsoleOutput.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o DescriptorManager.lo DescriptorManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c DescriptorManager.cxx -fPIC -DPIC -o .libs/DescriptorManager.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/List.h:7, from ../include/DescriptorManager.h:8, from DescriptorManager.cxx:5: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.cxx:7, from ../include/List.h:48: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ ../include/DescriptorManager.h: In constructor 'OpenSP::DescriptorManager::DescriptorManager(int)': ../include/DescriptorManager.h:42:7: warning: 'OpenSP::DescriptorManager::maxD_' will be initialized after [-Wreorder] 42 | int maxD_; | ^~~~~ ../include/DescriptorManager.h:41:7: warning: 'int OpenSP::DescriptorManager::usedD_' [-Wreorder] 41 | int usedD_; | ^~~~~~ DescriptorManager.cxx:47:1: warning: when initialized here [-Wreorder] 47 | DescriptorManager::DescriptorManager(int maxD) | ^~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ContentState.lo ContentState.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ContentState.cxx -fPIC -DPIC -o .libs/ContentState.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/ContentState.h:13: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ../include/ContentState.h:16: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ContentState.cxx:10: ../include/IListIter.h: At global scope: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/NCVector.h:12, from ../include/ContentToken.h:13: ../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::Owner; size_t = long unsigned int]': ContentState.cxx:31:42: required from here ../include/Vector.h:66:6: warning: 'OpenSP::NCVector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] 4 | #define Vector NCVector | ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/NCVector.h:48: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Text.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/OpenElement.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ContentModelAmbiguity]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ContentModelAmbiguity]' ContentState.cxx:36:33: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::ContentModelAmbiguity'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here 69 | struct SP_API ContentModelAmbiguity { | ^~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::OpenElementInfo]': ../include/Vector.h:47:18: required from 'void OpenSP::Vector::clear() [with T = OpenSP::OpenElementInfo]' ContentState.cxx:127:10: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:19: ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Attribute.lo Attribute.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Attribute.cxx -fPIC -DPIC -o .libs/Attribute.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Attribute.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Attribute.cxx:12: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeDefinition::AttributeDefinition(const OpenSP::StringC&, OpenSP::DeclaredValue*)': ../include/Attribute.h:291:28: warning: 'OpenSP::AttributeDefinition::declaredValue_' will be initialized after [-Wreorder] 291 | CopyOwner declaredValue_; | ^~~~~~~~~~~~~~ ../include/Attribute.h:287:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeDefinition::implicit_' [-Wreorder] 287 | PackedBoolean implicit_; | ^~~~~~~~~ Attribute.cxx:590:1: warning: when initialized here [-Wreorder] 590 | AttributeDefinition::AttributeDefinition(const StringC &name, | ^~~~~~~~~~~~~~~~~~~ Attribute.cxx: In member function 'void OpenSP::AttributeDefinition::setOrigName(OpenSP::StringC&)': Attribute.cxx:609:17: warning: the compiler can assume that the address of 'origName' will never be NULL [-Waddress] 609 | if (&origName != NULL) | ^ Attribute.cxx:607:48: note: 'origName' declared here 607 | void AttributeDefinition::setOrigName(StringC &origName) | ~~~~~~~~~^~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeDefinitionList::AttributeDefinitionList(OpenSP::Vector >&, size_t, OpenSP::Boolean, size_t, size_t)': ../include/Attribute.h:382:11: warning: 'OpenSP::AttributeDefinitionList::anyCurrent_' will be initialized after [-Wreorder] 382 | Boolean anyCurrent_; | ^~~~~~~~~~~ ../include/Attribute.h:380:10: warning: 'size_t OpenSP::AttributeDefinitionList::idIndex_' [-Wreorder] 380 | size_t idIndex_; // -1 if no ID attribute | ^~~~~~~~ Attribute.cxx:883:1: warning: when initialized here [-Wreorder] 883 | AttributeDefinitionList | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeDefinitionList::AttributeDefinitionList(const OpenSP::ConstPtr&)': ../include/Attribute.h:383:37: warning: 'OpenSP::AttributeDefinitionList::prev_' will be initialized after [-Wreorder] 383 | ConstPtr prev_; | ^~~~~ ../include/Attribute.h:379:10: warning: 'size_t OpenSP::AttributeDefinitionList::index_' [-Wreorder] 379 | size_t index_; | ^~~~~~ Attribute.cxx:895:1: warning: when initialized here [-Wreorder] 895 | AttributeDefinitionList:: AttributeDefinitionList(const ConstPtr &def) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeList::AttributeList(const OpenSP::ConstPtr&)': ../include/Attribute.h:531:37: warning: 'OpenSP::AttributeList::def_' will be initialized after [-Wreorder] 531 | ConstPtr def_; | ^~~~ ../include/Attribute.h:530:21: warning: 'OpenSP::Vector OpenSP::AttributeList::vec_' [-Wreorder] 530 | Vector vec_; | ^~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] 1179 | AttributeList::AttributeList(const ConstPtr &def) | ^~~~~~~~~~~~~ ../include/Attribute.h:530:21: warning: 'OpenSP::AttributeList::vec_' will be initialized after [-Wreorder] 530 | Vector vec_; | ^~~~ ../include/Attribute.h:529:10: warning: 'size_t OpenSP::AttributeList::nSpec_' [-Wreorder] 529 | size_t nSpec_; | ^~~~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] 1179 | AttributeList::AttributeList(const ConstPtr &def) | ^~~~~~~~~~~~~ ../include/Attribute.h:529:10: warning: 'OpenSP::AttributeList::nSpec_' will be initialized after [-Wreorder] 529 | size_t nSpec_; | ^~~~~~ ../include/Attribute.h:526:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeList::conref_' [-Wreorder] 526 | PackedBoolean conref_; | ^~~~~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] 1179 | AttributeList::AttributeList(const ConstPtr &def) | ^~~~~~~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeList::AttributeList()': ../include/Attribute.h:529:10: warning: 'OpenSP::AttributeList::nSpec_' will be initialized after [-Wreorder] 529 | size_t nSpec_; | ^~~~~~ ../include/Attribute.h:526:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeList::conref_' [-Wreorder] 526 | PackedBoolean conref_; | ^~~~~~~ Attribute.cxx:1185:1: warning: when initialized here [-Wreorder] 1185 | AttributeList::AttributeList() | ^~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]': ../include/Attribute.h:482:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/Attribute.h:167:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ConstPtr; size_t = long unsigned int]': Attribute.cxx:482:45: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ConstPtr]': ../include/Attribute.h:396:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = long unsigned int]': Attribute.cxx:1054:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::Attribute; size_t = long unsigned int]': Attribute.cxx:1180:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13, from ../include/Entity.h:22, from Attribute.cxx:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]' ../include/Attribute.h:482:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::String]' Attribute.cxx:336:24: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' Attribute.cxx:482:45: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' Attribute.cxx:890:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:15: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::CopyOwner]' Attribute.cxx:907:18: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ConstPtr]' ../include/Attribute.h:396:7: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ Attribute.cxx: In member function 'OpenSP::AttributeDefinition::setOrigName(OpenSP::String&)': Attribute.cxx:609:3: warning: 'nonnull' argument 'origName' compared to NULL [-Wnonnull-compare] 609 | if (&origName != NULL) | ^~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o EUCJPCodingSystem.lo EUCJPCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c EUCJPCodingSystem.cxx -fPIC -DPIC -o .libs/EUCJPCodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ContentToken.lo ContentToken.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ContentToken.cxx -fPIC -DPIC -o .libs/ContentToken.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ContentToken.cxx:13: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h: In constructor 'OpenSP::LeafContentToken::LeafContentToken(const OpenSP::ElementType*, OpenSP::ContentToken::OccurrenceIndicator)': ../include/ContentToken.h:244:22: warning: 'OpenSP::LeafContentToken::element_' will be initialized after [-Wreorder] 244 | const ElementType *element_; | ^~~~~~~~ ContentToken.cxx:116:28: warning: base 'OpenSP::ContentToken' [-Wreorder] 116 | requiredIndex_(size_t(-1)) | ^ ContentToken.cxx:113:1: warning: when initialized here [-Wreorder] 113 | LeafContentToken::LeafContentToken(const ElementType *element, | ^~~~~~~~~~~~~~~~ ContentToken.cxx: In constructor 'OpenSP::GroupInfo::GroupInfo(size_t)': ContentToken.cxx:182:20: warning: 'OpenSP::GroupInfo::nextTypeIndex' will be initialized after [-Wreorder] 182 | Vector nextTypeIndex; | ^~~~~~~~~~~~~ ContentToken.cxx:179:12: warning: 'unsigned int OpenSP::GroupInfo::nextLeafIndex' [-Wreorder] 179 | unsigned nextLeafIndex; | ^~~~~~~~~~~~~ ContentToken.cxx:187:1: warning: when initialized here [-Wreorder] 187 | GroupInfo::GroupInfo(size_t nType) | ^~~~~~~~~ ../include/ContentToken.h: In constructor 'OpenSP::AndState::AndState(unsigned int)': ../include/ContentToken.h:346:25: warning: 'OpenSP::AndState::v_' will be initialized after [-Wreorder] 346 | Vector v_; | ^~ ../include/ContentToken.h:345:12: warning: 'unsigned int OpenSP::AndState::clearFrom_' [-Wreorder] 345 | unsigned clearFrom_; | ^~~~~~~~~~ ContentToken.cxx:581:1: warning: when initialized here [-Wreorder] 581 | AndState::AndState(unsigned n) | ^~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = unsigned int; size_t = long unsigned int]': ContentToken.cxx:188:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = unsigned int; size_t = long unsigned int]': ContentToken.cxx:216:50: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = long unsigned int; size_t = long unsigned int]': ContentToken.cxx:217:53: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::FirstSet; size_t = long unsigned int]': ContentToken.cxx:505:39: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LastSet; size_t = long unsigned int]': ContentToken.cxx:506:37: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = bool; size_t = long unsigned int]': ContentToken.cxx:582:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Text.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ContentToken.cxx:11: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Text]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Text]' ContentToken.cxx:160:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Text' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ContentModelAmbiguity]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::ContentModelAmbiguity; size_t = long unsigned int]' ContentToken.cxx:284:22: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::ContentModelAmbiguity'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here 69 | struct SP_API ContentModelAmbiguity { | ^~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::FirstSet]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::FirstSet]' ContentToken.cxx:505:39: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::FirstSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:43:14: note: 'class OpenSP::FirstSet' declared here 43 | class SP_API FirstSet { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::LastSet]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::LastSet]' ContentToken.cxx:506:37: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::LastSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:58:14: note: 'class OpenSP::LastSet' declared here 58 | class SP_API LastSet : public Vector { | ^~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o DtdDeclEventHandler.lo DtdDeclEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c DtdDeclEventHandler.cxx -fPIC -DPIC -o .libs/DtdDeclEventHandler.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ElementType.lo ElementType.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ElementType.cxx -fPIC -DPIC -o .libs/ElementType.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/ElementType.h:14, from ElementType.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/ElementType.h: In constructor 'OpenSP::ElementType::ElementType(const OpenSP::StringC&, size_t)': ../include/ElementType.h:124:28: warning: 'OpenSP::ElementType::map_' will be initialized after [-Wreorder] 124 | const ShortReferenceMap *map_; | ^~~~ ../include/ElementType.h:122:10: warning: 'size_t OpenSP::ElementType::defIndex_' [-Wreorder] 122 | size_t defIndex_; // index in the group having same definition | ^~~~~~~~~ ElementType.cxx:16:1: warning: when initialized here [-Wreorder] 16 | ElementType::ElementType(const StringC &name, size_t index) | ^~~~~~~~~~~ In file included from ../include/ElementType.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:13: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ElementType.cxx:102:28: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Dtd.lo Dtd.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Dtd.cxx -fPIC -DPIC -o .libs/Dtd.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/NamedResourceTable.h:11, from ../include/Dtd.h:11, from Dtd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Hash.h:10, from ../include/NamedTable.h:7: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/Dtd.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:13: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' ../include/PointerTable.h:18:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::HashTableItemBase >*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::HashTableItemBase >*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::HashTableKeyFunction >; OpenSP::Boolean = bool]' ../include/HashTable.cxx:15:66: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = int; OpenSP::Boolean = bool]' Dtd.cxx:40:24: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityCatalog.lo EntityCatalog.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c EntityCatalog.cxx -fPIC -DPIC -o .libs/EntityCatalog.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/EntityDecl.h:12, from EntityCatalog.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityManager.lo EntityManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c EntityManager.cxx -fPIC -DPIC -o .libs/EntityManager.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/EntityManager.h:15, from EntityManager.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityApp.lo EntityApp.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c EntityApp.cxx -fPIC -DPIC -o .libs/EntityApp.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from EntityApp.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/List.h:7, from ../include/DescriptorManager.h:8, from ../include/PosixStorage.h:11, from EntityApp.cxx:14: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.cxx:7, from ../include/List.h:48: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::String; size_t = long unsigned int]': EntityApp.cxx:88:53: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' EntityApp.cxx:88:53: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityDecl.lo EntityDecl.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c EntityDecl.cxx -fPIC -DPIC -o .libs/EntityDecl.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/EntityDecl.h:12, from EntityDecl.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/EntityDecl.h: In constructor 'OpenSP::EntityDecl::EntityDecl(const OpenSP::StringC&, DeclType, DataType, const OpenSP::Location&)': ../include/EntityDecl.h:50:12: warning: 'OpenSP::EntityDecl::defLocation_' will be initialized after [-Wreorder] 50 | Location defLocation_; | ^~~~~~~~~~~~ ../include/EntityDecl.h:48:17: warning: 'OpenSP::PackedBoolean OpenSP::EntityDecl::dtdIsBase_' [-Wreorder] 48 | PackedBoolean dtdIsBase_; | ^~~~~~~~~~ EntityDecl.cxx:14:1: warning: when initialized here [-Wreorder] 14 | EntityDecl::EntityDecl(const StringC &str, DeclType declType, DataType dataType, | ^~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ErrnoMessageArg.lo ErrnoMessageArg.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ErrnoMessageArg.cxx -fPIC -DPIC -o .libs/ErrnoMessageArg.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ArcEngine.lo ArcEngine.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ArcEngine.cxx -fPIC -DPIC -o .libs/ArcEngine.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentState.h:13, from ArcProcessor.h:8, from ArcEngine.cxx:11: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ArcEngine.cxx:21: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ ArcEngine.cxx: In constructor 'OpenSP::ArcEngineImpl::ArcEngineImpl(OpenSP::Messenger&, const OpenSP::SgmlParser*, OpenSP::ArcDirector&, const volatile sig_atomic_t*, const OpenSP::StringC*, const OpenSP::Notation*, const OpenSP::Vector >&, const OpenSP::SubstTable*)': ArcEngine.cxx:143:32: warning: 'OpenSP::ArcEngineImpl::cancelPtr_' will be initialized after [-Wreorder] 143 | const volatile sig_atomic_t *cancelPtr_; | ^~~~~~~~~~ ArcEngine.cxx:130:21: warning: 'const OpenSP::SgmlParser* OpenSP::ArcEngineImpl::parser_' [-Wreorder] 130 | const SgmlParser *parser_; | ^~~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] 184 | ArcEngineImpl::ArcEngineImpl(Messenger &mgr, | ^~~~~~~~~~~~~ ArcEngine.cxx:130:21: warning: 'OpenSP::ArcEngineImpl::parser_' will be initialized after [-Wreorder] 130 | const SgmlParser *parser_; | ^~~~~~~ ArcEngine.cxx:127:7: warning: 'int OpenSP::ArcEngineImpl::stage_' [-Wreorder] 127 | int stage_; | ^~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] 184 | ArcEngineImpl::ArcEngineImpl(Messenger &mgr, | ^~~~~~~~~~~~~ ArcEngine.cxx:139:11: warning: 'OpenSP::ArcEngineImpl::haveLinkProcess_' will be initialized after [-Wreorder] 139 | Boolean haveLinkProcess_; | ^~~~~~~~~~~~~~~~ ArcEngine.cxx:135:13: warning: 'OpenSP::Allocator OpenSP::ArcEngineImpl::alloc_' [-Wreorder] 135 | Allocator alloc_; | ^~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] 184 | ArcEngineImpl::ArcEngineImpl(Messenger &mgr, | ^~~~~~~~~~~~~ ArcEngine.cxx:135:13: warning: 'OpenSP::ArcEngineImpl::alloc_' will be initialized after [-Wreorder] 135 | Allocator alloc_; | ^~~~~~ ArcEngine.cxx:129:20: warning: 'OpenSP::NullEventHandler OpenSP::ArcEngineImpl::nullHandler_' [-Wreorder] 129 | NullEventHandler nullHandler_; | ^~~~~~~~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] 184 | ArcEngineImpl::ArcEngineImpl(Messenger &mgr, | ^~~~~~~~~~~~~ ArcProcessor.h: In constructor 'OpenSP::ArcProcessor::ArcProcessor()': ArcProcessor.h:221:17: warning: 'OpenSP::ArcProcessor::docHandler_' will be initialized after [-Wreorder] 221 | EventHandler *docHandler_; | ^~~~~~~~~~~ ArcProcessor.h:197:11: warning: 'OpenSP::Boolean OpenSP::ArcProcessor::arcAuto_' [-Wreorder] 197 | Boolean arcAuto_; | ^~~~~~~~ ArcEngine.cxx:645:1: warning: when initialized here [-Wreorder] 645 | ArcProcessor::ArcProcessor() | ^~~~~~~~~~~~ ArcProcessor.h:197:11: warning: 'OpenSP::ArcProcessor::arcAuto_' will be initialized after [-Wreorder] 197 | Boolean arcAuto_; | ^~~~~~~~ ArcProcessor.h:196:11: warning: 'OpenSP::Boolean OpenSP::ArcProcessor::arcDtdIsParam_' [-Wreorder] 196 | Boolean arcDtdIsParam_; | ^~~~~~~~~~~~~~ ArcEngine.cxx:645:1: warning: when initialized here [-Wreorder] 645 | ArcProcessor::ArcProcessor() | ^~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/ArcEngine.h:31:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]': ../include/Markup.h:41:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ISetRange]': ../include/ISet.h:25:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::SubstTable::Pair]': ../include/SubstTable.h:15:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ArcEngine.cxx:1224:19: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = bool; size_t = long unsigned int]': ArcEngine.cxx:1620:52: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::ArcProcessor]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::ArcProcessor]' ArcEngine.cxx:197:38: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ArcProcessor' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ArcProcessor.h:23:7: note: 'class OpenSP::ArcProcessor' declared here 23 | class ArcProcessor : private ContentState, private AttributeContext { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/LinkProcess.h:32:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' ArcEngine.cxx:302:48: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:14, from ../include/ExternalId.h:14, from ../include/Notation.h:15: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]' ../include/Markup.h:41:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ArcEngine.cxx:647:19: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ArcEngine.cxx:647:19: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ErrorCountEventHandler.lo ErrorCountEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ErrorCountEventHandler.cxx -fPIC -DPIC -o .libs/ErrorCountEventHandler.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ErrorCountEventHandler.h: In constructor 'OpenSP::ErrorCountEventHandler::ErrorCountEventHandler(unsigned int)': ../include/ErrorCountEventHandler.h:30:12: warning: 'OpenSP::ErrorCountEventHandler::errorCount_' will be initialized after [-Wreorder] 30 | unsigned errorCount_; | ^~~~~~~~~~~ ../include/ErrorCountEventHandler.h:29:12: warning: 'unsigned int OpenSP::ErrorCountEventHandler::maxErrors_' [-Wreorder] 29 | unsigned maxErrors_; | ^~~~~~~~~~ ErrorCountEventHandler.cxx:14:1: warning: when initialized here [-Wreorder] 14 | ErrorCountEventHandler::ErrorCountEventHandler(unsigned errorLimit) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Entity.lo Entity.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Entity.cxx -fPIC -DPIC -o .libs/Entity.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Entity.h:13, from Entity.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ParserState.h:25, from Entity.cxx:9: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]': ../include/Attribute.h:482:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Entity.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ParserState.h:17: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:17: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]' ../include/Attribute.h:482:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o EventGenerator.lo EventGenerator.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c EventGenerator.cxx -fPIC -DPIC -o .libs/EventGenerator.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ExternalId.lo ExternalId.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ExternalId.cxx -fPIC -DPIC -o .libs/ExternalId.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ExternalId.h:12, from ExternalId.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Text.h:12: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ExternalId.cxx: In member function 'OpenSP::PublicId::initUrn(OpenSP::String const&, OpenSP::CharsetInfo const&, unsigned int, OpenSP::MessageType1 const*&)': ExternalId.cxx:175:40: warning: 'apos' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | && !(c == bang) && !(c == star) && !(c == apos)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:98:61: note: 'apos' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~ ExternalId.cxx:175:24: warning: 'star' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | && !(c == bang) && !(c == star) && !(c == apos)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:98:55: note: 'star' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~ ExternalId.cxx:175:8: warning: 'bang' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | && !(c == bang) && !(c == star) && !(c == apos)) { | ^~~~~~~~~~~~~~~ ExternalId.cxx:98:49: note: 'bang' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~ ExternalId.cxx:174:61: warning: 'uline' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:98:42: note: 'uline' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~~ ExternalId.cxx:174:43: warning: 'dollar' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:98:34: note: 'dollar' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~~~ ExternalId.cxx:174:22: warning: 'semicolon' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ExternalId.cxx:98:23: note: 'semicolon' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~~~~~~ ExternalId.cxx:174:8: warning: 'at' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ^~~~~~~~~~~~~ ExternalId.cxx:98:19: note: 'at' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~ ExternalId.cxx:173:60: warning: 'equal' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:98:12: note: 'equal' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~~ ExternalId.cxx:173:43: warning: 'colon' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:97:65: note: 'colon' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~ ExternalId.cxx:173:25: warning: 'period' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:97:57: note: 'period' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~~ ExternalId.cxx:118:7: warning: 'minus' may be used uninitialized [-Wmaybe-uninitialized] 117 | if (!charset.descToUniv(fieldStart[i], c) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | || ((!(c == minus) || i == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | && !(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExternalId.cxx:97:50: note: 'minus' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~ ExternalId.cxx:172:60: warning: 'comma' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:97:43: note: 'comma' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~ ExternalId.cxx:172:44: warning: 'plus' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:97:37: note: 'plus' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~ ExternalId.cxx:172:26: warning: 'rparen' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:97:29: note: 'rparen' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~~ ExternalId.cxx:172:8: warning: 'lparen' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ^~~~~~~~~~~~~~~~~ ExternalId.cxx:97:21: note: 'lparen' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~~ ExternalId.cxx:143:5: warning: 'percent' may be used uninitialized [-Wmaybe-uninitialized] 143 | if (c == percent) { | ^~ ExternalId.cxx:97:12: note: 'percent' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Fixed2CodingSystem.lo Fixed2CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Fixed2CodingSystem.cxx -fPIC -DPIC -o .libs/Fixed2CodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Hash.lo Hash.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Hash.cxx -fPIC -DPIC -o .libs/Hash.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o IListBase.lo IListBase.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c IListBase.cxx -fPIC -DPIC -o .libs/IListBase.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Group.lo Group.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Group.cxx -fPIC -DPIC -o .libs/Group.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from Group.h:11, from Group.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Group.h:15: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Text]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Text]' Group.h:24:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Text' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o GenericEventHandler.lo GenericEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c GenericEventHandler.cxx -fPIC -DPIC -o .libs/GenericEventHandler.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h: In constructor 'OpenSP::GenericEventHandler::GenericEventHandler(SGMLApplication&, bool)': ../include/GenericEventHandler.h:77:20: warning: 'OpenSP::GenericEventHandler::app_' will be initialized after [-Wreorder] 77 | SGMLApplication *app_; | ^~~~ ../include/GenericEventHandler.h:76:8: warning: 'bool OpenSP::GenericEventHandler::generalEntities_' [-Wreorder] 76 | bool generalEntities_; | ^~~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 49 | GenericEventHandler::GenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:76:8: warning: 'OpenSP::GenericEventHandler::generalEntities_' will be initialized after [-Wreorder] 76 | bool generalEntities_; | ^~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:74:10: warning: 'OpenSP::GenericEventHandler::Block* OpenSP::GenericEventHandler::freeBlocks_' [-Wreorder] 74 | Block *freeBlocks_; | ^~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 49 | GenericEventHandler::GenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:75:10: warning: 'OpenSP::GenericEventHandler::allocBlocks_' will be initialized after [-Wreorder] 75 | Block *allocBlocks_; | ^~~~~~~~~~~~ ../include/GenericEventHandler.h:73:10: warning: 'size_t OpenSP::GenericEventHandler::firstBlockSpare_' [-Wreorder] 73 | size_t firstBlockSpare_; | ^~~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 49 | GenericEventHandler::GenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:73:10: warning: 'OpenSP::GenericEventHandler::firstBlockSpare_' will be initialized after [-Wreorder] 73 | size_t firstBlockSpare_; | ^~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:72:10: warning: 'size_t OpenSP::GenericEventHandler::firstBlockUsed_' [-Wreorder] 72 | size_t firstBlockUsed_; | ^~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 49 | GenericEventHandler::GenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h: In constructor 'OpenSP::MsgGenericEventHandler::MsgGenericEventHandler(SGMLApplication&, bool, OpenSP::MessageReporter&, const bool*)': ../include/GenericEventHandler.h:106:20: warning: 'OpenSP::MsgGenericEventHandler::reporter_' will be initialized after [-Wreorder] 106 | MessageReporter *reporter_; | ^~~~~~~~~ ../include/GenericEventHandler.h:105:15: warning: 'const bool* OpenSP::MsgGenericEventHandler::messagesInhibitedPtr_' [-Wreorder] 105 | const bool *messagesInhibitedPtr_; | ^~~~~~~~~~~~~~~~~~~~~ GenericEventHandler.cxx:743:1: warning: when initialized here [-Wreorder] 743 | MsgGenericEventHandler::MsgGenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' ../include/Event.h:458:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o IdentityCodingSystem.lo IdentityCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c IdentityCodingSystem.cxx -fPIC -DPIC -o .libs/IdentityCodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Id.lo Id.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Id.cxx -fPIC -DPIC -o .libs/Id.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from Id.h:12, from Id.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' Id.cxx:16:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o InternalInputSource.lo InternalInputSource.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c InternalInputSource.cxx -fPIC -DPIC -o .libs/InternalInputSource.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/InputSource.h:12, from ../include/InternalInputSource.h:11, from InternalInputSource.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Event.lo Event.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Event.cxx -fPIC -DPIC -o .libs/Event.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Event.h:12, from Event.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::LocatedEvent::LocatedEvent(OpenSP::Event::Type, const OpenSP::Location&)': ../include/Event.h:104:12: warning: 'OpenSP::LocatedEvent::location_' will be initialized after [-Wreorder] 104 | Location location_; | ^~~~~~~~~ Event.cxx:22:34: warning: base 'OpenSP::Event' [-Wreorder] 22 | : location_(location), Event(type) | ^ Event.cxx:21:1: warning: when initialized here [-Wreorder] 21 | LocatedEvent::LocatedEvent(Type type, const Location &location) | ^~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::DataEvent::DataEvent(OpenSP::Event::Type, const OpenSP::Char*, size_t, const OpenSP::Location&)': ../include/Event.h:195:10: warning: 'OpenSP::DataEvent::length_' will be initialized after [-Wreorder] 195 | size_t length_; | ^~~~~~~ Event.cxx:111:53: warning: base 'OpenSP::LocatedEvent' [-Wreorder] 111 | : p_(p),length_(length), LocatedEvent(type, location) | ^ Event.cxx:109:1: warning: when initialized here [-Wreorder] 109 | DataEvent::DataEvent(Type type, const Char *p, size_t length, | ^~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::PiEvent::PiEvent(const OpenSP::Char*, size_t, const OpenSP::Location&)': ../include/Event.h:261:10: warning: 'OpenSP::PiEvent::dataLength_' will be initialized after [-Wreorder] 261 | size_t dataLength_; | ^~~~~~~~~~~ Event.cxx:203:66: warning: base 'OpenSP::LocatedEvent' [-Wreorder] 203 | : data_(data), dataLength_(dataLength), LocatedEvent(pi, location) | ^ Event.cxx:202:1: warning: when initialized here [-Wreorder] 202 | PiEvent::PiEvent(const Char *data, size_t dataLength, const Location &location) | ^~~~~~~ ../include/Event.h: In constructor 'OpenSP::ExternalEntityEvent::ExternalEntityEvent(OpenSP::Event::Type, const OpenSP::ConstPtr&)': ../include/Event.h:296:26: warning: 'OpenSP::ExternalEntityEvent::origin_' will be initialized after [-Wreorder] 296 | ConstPtr origin_; | ^~~~~~~ Event.cxx:232:30: warning: base 'OpenSP::Event' [-Wreorder] 232 | : origin_(origin), Event(type) | ^ Event.cxx:230:1: warning: when initialized here [-Wreorder] 230 | ExternalEntityEvent::ExternalEntityEvent(Type type, | ^~~~~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::ExternalDataEntityEvent::ExternalDataEntityEvent(const OpenSP::ExternalDataEntity*, const OpenSP::ConstPtr&)': ../include/Event.h:308:29: warning: 'OpenSP::ExternalDataEntityEvent::dataEntity_' will be initialized after [-Wreorder] 308 | const ExternalDataEntity *dataEntity_; | ^~~~~~~~~~~ Event.cxx:238:70: warning: base 'OpenSP::ExternalEntityEvent' [-Wreorder] 238 | : dataEntity_(entity), ExternalEntityEvent(externalDataEntity, origin) | ^ Event.cxx:236:1: warning: when initialized here [-Wreorder] 236 | ExternalDataEntityEvent::ExternalDataEntityEvent(const ExternalDataEntity *entity, | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::SubdocEntityEvent::SubdocEntityEvent(const OpenSP::SubdocEntity*, const OpenSP::ConstPtr&)': ../include/Event.h:320:23: warning: 'OpenSP::SubdocEntityEvent::subdocEntity_' will be initialized after [-Wreorder] 320 | const SubdocEntity *subdocEntity_; | ^~~~~~~~~~~~~ Event.cxx:244:66: warning: base 'OpenSP::ExternalEntityEvent' [-Wreorder] 244 | : subdocEntity_(entity), ExternalEntityEvent(subdocEntity, origin) | ^ Event.cxx:242:1: warning: when initialized here [-Wreorder] 242 | SubdocEntityEvent::SubdocEntityEvent(const SubdocEntity *entity, | ^~~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::UsemapEvent::UsemapEvent(const OpenSP::ShortReferenceMap*, OpenSP::Vector&, const OpenSP::ConstPtr&, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:381:28: warning: 'OpenSP::UsemapEvent::map_' will be initialized after [-Wreorder] 381 | const ShortReferenceMap *map_; | ^~~~ ../include/Event.h:379:17: warning: 'OpenSP::ConstPtr OpenSP::UsemapEvent::dtd_' [-Wreorder] 379 | ConstPtr dtd_; | ^~~~ Event.cxx:275:1: warning: when initialized here [-Wreorder] 275 | UsemapEvent::UsemapEvent(const ShortReferenceMap *map, | ^~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::StartSubsetEvent::StartSubsetEvent(OpenSP::Event::Type, const OpenSP::StringC&, const OpenSP::ConstPtr&, OpenSP::Boolean, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:400:11: warning: 'OpenSP::StartSubsetEvent::hasInternalSubset_' will be initialized after [-Wreorder] 400 | Boolean hasInternalSubset_; | ^~~~~~~~~~~~~~~~~~ Event.cxx:294:32: warning: base 'OpenSP::MarkupEvent' [-Wreorder] 294 | MarkupEvent(type, loc, markup) | ^ Event.cxx:287:1: warning: when initialized here [-Wreorder] 287 | StartSubsetEvent::StartSubsetEvent(Type type, | ^~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::SgmlDeclEvent::SgmlDeclEvent(const OpenSP::ConstPtr&, const OpenSP::ConstPtr&)': ../include/Event.h:515:9: warning: 'OpenSP::SgmlDeclEvent::nextIndex_' will be initialized after [-Wreorder] 515 | Index nextIndex_; | ^~~~~~~~~~ Event.cxx:353:38: warning: base 'OpenSP::MarkupEvent' [-Wreorder] 353 | nextIndex_(0), MarkupEvent(sgmlDecl) | ^ Event.cxx:349:1: warning: when initialized here [-Wreorder] 349 | SgmlDeclEvent::SgmlDeclEvent(const ConstPtr &sd, | ^~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::SgmlDeclEvent::SgmlDeclEvent(const OpenSP::ConstPtr&, const OpenSP::ConstPtr&, const OpenSP::ConstPtr&, const OpenSP::ConstPtr&, const OpenSP::ConstPtr&, OpenSP::Index, const OpenSP::StringC&, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:516:11: warning: 'OpenSP::SgmlDeclEvent::implySystemId_' will be initialized after [-Wreorder] 516 | StringC implySystemId_; | ^~~~~~~~~~~~~~ Event.cxx:369:36: warning: base 'OpenSP::MarkupEvent' [-Wreorder] 369 | MarkupEvent(sgmlDecl, loc, markup) | ^ Event.cxx:357:1: warning: when initialized here [-Wreorder] 357 | SgmlDeclEvent::SgmlDeclEvent(const ConstPtr &sd, | ^~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::IgnoredReEvent::IgnoredReEvent(OpenSP::Char, const OpenSP::Location&, long unsigned int)': ../include/Event.h:558:8: warning: 'OpenSP::IgnoredReEvent::c_' will be initialized after [-Wreorder] 558 | Char c_; | ^~ ../include/Event.h:557:17: warning: 'long unsigned int OpenSP::IgnoredReEvent::serial_' [-Wreorder] 557 | unsigned long serial_; | ^~~~~~~ Event.cxx:390:1: warning: when initialized here [-Wreorder] 390 | IgnoredReEvent::IgnoredReEvent(Char c, const Location &location, | ^~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::ReOriginEvent::ReOriginEvent(OpenSP::Char, const OpenSP::Location&, long unsigned int)': ../include/Event.h:581:8: warning: 'OpenSP::ReOriginEvent::c_' will be initialized after [-Wreorder] 581 | Char c_; | ^~ ../include/Event.h:580:17: warning: 'long unsigned int OpenSP::ReOriginEvent::serial_' [-Wreorder] 580 | unsigned long serial_; | ^~~~~~~ Event.cxx:398:1: warning: when initialized here [-Wreorder] 398 | ReOriginEvent::ReOriginEvent(Char c, const Location &location, | ^~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::EntityDeclEvent::EntityDeclEvent(const OpenSP::ConstPtr&, OpenSP::Boolean, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:658:20: warning: 'OpenSP::EntityDeclEvent::entity_' will be initialized after [-Wreorder] 658 | ConstPtr entity_; | ^~~~~~~ ../include/Event.h:656:11: warning: 'OpenSP::Boolean OpenSP::EntityDeclEvent::ignored_' [-Wreorder] 656 | Boolean ignored_; | ^~~~~~~~ Event.cxx:443:1: warning: when initialized here [-Wreorder] 443 | EntityDeclEvent:: EntityDeclEvent(const ConstPtr &entity, | ^~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::LinkDeclEvent::LinkDeclEvent(const OpenSP::LinkSet*, const OpenSP::ConstPtr&, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:747:24: warning: 'OpenSP::LinkDeclEvent::lpd_' will be initialized after [-Wreorder] 747 | ConstPtr lpd_; | ^~~~ ../include/Event.h:746:18: warning: 'const OpenSP::LinkSet* OpenSP::LinkDeclEvent::linkSet_' [-Wreorder] 746 | const LinkSet *linkSet_; | ^~~~~~~~ Event.cxx:495:1: warning: when initialized here [-Wreorder] 495 | LinkDeclEvent::LinkDeclEvent(const LinkSet *linkSet, | ^~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::CopyOwner]': ../include/Message.h:165:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::OpenElementInfo]': ../include/Message.h:165:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::CopyOwner]' ../include/Message.h:165:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:14, from ../include/ExternalId.h:14, from ../include/Notation.h:15: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' ../include/Message.h:165:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::OpenElementInfo]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::OpenElementInfo]' ../include/Message.h:165:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::OpenElementInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::OpenElementInfo]' ../include/Message.h:165:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' Event.cxx:337:57: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' Event.cxx:480:47: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o InputSource.lo InputSource.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c InputSource.cxx -fPIC -DPIC -o .libs/InputSource.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/InputSource.h:12, from InputSource.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/InputSource.h: In constructor 'OpenSP::InputSource::InputSource(OpenSP::InputSourceOrigin*, const OpenSP::Char*, const OpenSP::Char*)': ../include/InputSource.h:82:26: warning: 'OpenSP::InputSource::origin_' will be initialized after [-Wreorder] 82 | Ptr origin_; | ^~~~~~~ ../include/InputSource.h:79:15: warning: 'const OpenSP::Char* OpenSP::InputSource::start_' [-Wreorder] 79 | const Char *start_; | ^~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 15 | InputSource::InputSource(InputSourceOrigin *origin, const Char *start, | ^~~~~~~~~~~ ../include/InputSource.h:80:15: warning: 'OpenSP::InputSource::end_' will be initialized after [-Wreorder] 80 | const Char *end_; | ^~~~ ../include/InputSource.h:78:15: warning: 'const OpenSP::Char* OpenSP::InputSource::cur_' [-Wreorder] 78 | const Char *cur_; | ^~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 15 | InputSource::InputSource(InputSourceOrigin *origin, const Char *start, | ^~~~~~~~~~~ ../include/InputSource.h:83:11: warning: 'OpenSP::InputSource::accessError_' will be initialized after [-Wreorder] 83 | Boolean accessError_; | ^~~~~~~~~~~~ ../include/InputSource.h:81:12: warning: 'OpenSP::Location OpenSP::InputSource::startLocation_' [-Wreorder] 81 | Location startLocation_; | ^~~~~~~~~~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 15 | InputSource::InputSource(InputSourceOrigin *origin, const Char *start, | ^~~~~~~~~~~ ../include/InputSource.h:87:11: warning: 'OpenSP::InputSource::multicode_' will be initialized after [-Wreorder] 87 | Boolean multicode_; | ^~~~~~~~~~ ../include/InputSource.h:84:11: warning: 'OpenSP::Boolean OpenSP::InputSource::scanSuppress_' [-Wreorder] 84 | Boolean scanSuppress_; | ^~~~~~~~~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 15 | InputSource::InputSource(InputSourceOrigin *origin, const Char *start, | ^~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Link.lo Link.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Link.cxx -fPIC -DPIC -o .libs/Link.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o LiteralStorage.lo LiteralStorage.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c LiteralStorage.cxx -fPIC -DPIC -o .libs/LiteralStorage.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/LiteralStorage.h:10, from LiteralStorage.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ExtendEntityManager.lo ExtendEntityManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ExtendEntityManager.cxx -fPIC -DPIC -o .libs/ExtendEntityManager.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/EntityManager.h:15, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::EntityManagerImpl::EntityManagerImpl(OpenSP::StorageManager*, const OpenSP::InputCodingSystem*, const OpenSP::ConstPtr&, OpenSP::Boolean)': ExtendEntityManager.cxx:116:34: warning: 'OpenSP::EntityManagerImpl::codingSystemKit_' will be initialized after [-Wreorder] 116 | ConstPtr codingSystemKit_; | ^~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:115:11: warning: 'OpenSP::Boolean OpenSP::EntityManagerImpl::internalCharsetIsDocCharset_' [-Wreorder] 115 | Boolean internalCharsetIsDocCharset_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:291:1: warning: when initialized here [-Wreorder] 291 | EntityManagerImpl::EntityManagerImpl(StorageManager *defaultStorageManager, | ^~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::UnbufferingStorageObject::UnbufferingStorageObject(OpenSP::StorageObject*, const OpenSP::Boolean*)': ExtendEntityManager.cxx:535:9: warning: 'OpenSP::UnbufferingStorageObject::buf_' will be initialized after [-Wreorder] 535 | char *buf_; | ^~~~ ExtendEntityManager.cxx:533:10: warning: 'size_t OpenSP::UnbufferingStorageObject::bufAvail_' [-Wreorder] 533 | size_t bufAvail_; | ^~~~~~~~~ ExtendEntityManager.cxx:505:3: warning: when initialized here [-Wreorder] 505 | UnbufferingStorageObject(StorageObject *sub, | ^~~~~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::ExternalInputSource::ExternalInputSource(OpenSP::ParsedSystemId&, const OpenSP::CharsetInfo&, const OpenSP::CharsetInfo&, OpenSP::Boolean, OpenSP::Char, OpenSP::InputSourceOrigin*, unsigned int)': ExtendEntityManager.cxx:189:11: warning: 'OpenSP::ExternalInputSource::mayNotExist_' will be initialized after [-Wreorder] 189 | Boolean mayNotExist_; | ^~~~~~~~~~~~ ExtendEntityManager.cxx:180:35: warning: 'OpenSP::NCVector > OpenSP::ExternalInputSource::sov_' [-Wreorder] 180 | NCVector > sov_; | ^~~~ ExtendEntityManager.cxx:576:1: warning: when initialized here [-Wreorder] 576 | ExternalInputSource::ExternalInputSource(ParsedSystemId &parsedSysid, | ^~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:200:11: warning: 'OpenSP::ExternalInputSource::internalCharsetIsDocCharset_' will be initialized after [-Wreorder] 200 | Boolean internalCharsetIsDocCharset_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:188:11: warning: 'OpenSP::Boolean OpenSP::ExternalInputSource::maySetDocCharset_' [-Wreorder] 188 | Boolean maySetDocCharset_; | ^~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:576:1: warning: when initialized here [-Wreorder] 576 | ExternalInputSource::ExternalInputSource(ParsedSystemId &parsedSysid, | ^~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::ExternalInfoImpl::ExternalInfoImpl(OpenSP::ParsedSystemId&)': ExtendEntityManager.cxx:137:10: warning: 'OpenSP::ExternalInfoImpl::currentIndex_' will be initialized after [-Wreorder] 137 | size_t currentIndex_; | ^~~~~~~~~~~~~ ExtendEntityManager.cxx:136:35: warning: 'OpenSP::NCVector OpenSP::ExternalInfoImpl::position_' [-Wreorder] 136 | NCVector position_; | ^~~~~~~~~ ExtendEntityManager.cxx:1102:1: warning: when initialized here [-Wreorder] 1102 | ExternalInfoImpl::ExternalInfoImpl(ParsedSystemId &parsedSysid) | ^~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h: In constructor 'OpenSP::StorageObjectSpec::StorageObjectSpec()': ../include/ExtendEntityManager.h:36:28: warning: 'OpenSP::StorageObjectSpec::codingSystem' will be initialized after [-Wreorder] 36 | const InputCodingSystem *codingSystem; | ^~~~~~~~~~~~ ../include/ExtendEntityManager.h:35:15: warning: 'const char* OpenSP::StorageObjectSpec::codingSystemName' [-Wreorder] 35 | const char *codingSystemName; | ^~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:1234:1: warning: when initialized here [-Wreorder] 1234 | StorageObjectSpec::StorageObjectSpec() | ^~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:47:17: warning: 'OpenSP::StorageObjectSpec::notrack' will be initialized after [-Wreorder] 47 | PackedBoolean notrack; | ^~~~~~~ ../include/ExtendEntityManager.h:46:11: warning: 'OpenSP::StorageObjectSpec::Records OpenSP::StorageObjectSpec::records' [-Wreorder] 46 | Records records; | ^~~~~~~ ExtendEntityManager.cxx:1234:1: warning: when initialized here [-Wreorder] 1234 | StorageObjectSpec::StorageObjectSpec() | ^~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:20: StorageObjectPosition.h: In constructor 'OpenSP::StorageObjectPosition::StorageObjectPosition()': StorageObjectPosition.h:27:10: warning: 'OpenSP::StorageObjectPosition::endOffset' will be initialized after [-Wreorder] 27 | Offset endOffset; | ^~~~~~~~~ StorageObjectPosition.h:21:10: warning: 'size_t OpenSP::StorageObjectPosition::line1RS' [-Wreorder] 21 | size_t line1RS; | ^~~~~~~ ExtendEntityManager.cxx:1275:1: warning: when initialized here [-Wreorder] 1275 | StorageObjectPosition::StorageObjectPosition() | ^~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::FSIParser::FSIParser(const OpenSP::StringC&, const OpenSP::CharsetInfo&, OpenSP::Boolean, const OpenSP::StorageObjectLocation*, const OpenSP::EntityManagerImpl*, OpenSP::Messenger&)': ExtendEntityManager.cxx:244:11: warning: 'OpenSP::FSIParser::isNdata_' will be initialized after [-Wreorder] 244 | Boolean isNdata_; | ^~~~~~~~ ExtendEntityManager.cxx:241:28: warning: 'const OpenSP::StorageObjectSpec* OpenSP::FSIParser::defSpec_' [-Wreorder] 241 | const StorageObjectSpec *defSpec_; | ^~~~~~~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] 1280 | FSIParser::FSIParser(const StringC &str, | ^~~~~~~~~ ExtendEntityManager.cxx:242:18: warning: 'OpenSP::FSIParser::defId_' will be initialized after [-Wreorder] 242 | const StringC *defId_; | ^~~~~~ ExtendEntityManager.cxx:240:28: warning: 'const OpenSP::EntityManagerImpl* OpenSP::FSIParser::em_' [-Wreorder] 240 | const EntityManagerImpl *em_; | ^~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] 1280 | FSIParser::FSIParser(const StringC &str, | ^~~~~~~~~ ExtendEntityManager.cxx:240:28: warning: 'OpenSP::FSIParser::em_' will be initialized after [-Wreorder] 240 | const EntityManagerImpl *em_; | ^~~ ExtendEntityManager.cxx:239:14: warning: 'OpenSP::Messenger& OpenSP::FSIParser::mgr_' [-Wreorder] 239 | Messenger &mgr_; | ^~~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] 1280 | FSIParser::FSIParser(const StringC &str, | ^~~~~~~~~ ExtendEntityManager.cxx: In member function 'OpenSP::Boolean OpenSP::FSIParser::matchChar(OpenSP::Xchar, char)': ExtendEntityManager.cxx:1324:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1324 | return ch == idCharset_.execToDesc(execC); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In member function 'OpenSP::Boolean OpenSP::FSIParser::parseAttribute(OpenSP::StringC&, OpenSP::Boolean&, OpenSP::StringC&)': ExtendEntityManager.cxx:1962:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1962 | if (c == lit) | ~~^~~~~~ In file included from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::ParsedSystemId::Map; size_t = long unsigned int]': ExtendEntityManager.cxx:386:28: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ In file included from ../include/NCVector.h:12, from OffsetOrderedList.h:9, from ExtendEntityManager.cxx:12: ../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::Owner; size_t = long unsigned int]': ExtendEntityManager.cxx:586:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::NCVector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] 4 | #define Vector NCVector | ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]': ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ParsedSystemId::Map]': ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::StorageObjectPosition; size_t = long unsigned int]': ExtendEntityManager.cxx:1103:21: required from here ../include/Vector.h:66:6: warning: 'OpenSP::NCVector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] 4 | #define Vector NCVector | ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/NCVector.h:48: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ExtendEntityManager.cxx:298:59: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16, from ../include/ExtendEntityManager.h:18: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::ParsedSystemId::Map; size_t = long unsigned int]' ExtendEntityManager.cxx:349:28: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ExtendEntityManager.cxx:586:3: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]' ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::StorageObjectSpec]' ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ParsedSystemId::Map]' ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::StorageObjectPosition]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::StorageObjectPosition]' ExtendEntityManager.cxx:1103:21: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectPosition' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StorageObjectPosition.h:17:8: note: 'struct OpenSP::StorageObjectPosition' declared here 17 | struct StorageObjectPosition { | ^~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' OffsetOrderedList.h:26:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o LinkProcess.lo LinkProcess.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c LinkProcess.cxx -fPIC -DPIC -o .libs/LinkProcess.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Lpd.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/LinkProcess.h:11: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Lpd.h:19: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13, from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' LinkProcess.cxx:18:26: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageArg.lo MessageArg.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c MessageArg.cxx -fPIC -DPIC -o .libs/MessageArg.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from ParserMessages.h:8, from MessageArg.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/MessageArg.h:11, from MessageArg.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': MessageArg.cxx:82:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' MessageArg.cxx:82:3: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/MessageArg.h:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' MessageArg.cxx:82:3: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Location.lo Location.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Location.cxx -fPIC -DPIC -o .libs/Location.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from Location.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Location.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h: In constructor 'OpenSP::BracketOrigin::BracketOrigin(const OpenSP::Location&, Position)': ../include/Location.h:152:12: warning: 'OpenSP::BracketOrigin::loc_' will be initialized after [-Wreorder] 152 | Location loc_; | ^~~~ ../include/Location.h:151:12: warning: 'OpenSP::BracketOrigin::Position OpenSP::BracketOrigin::pos_' [-Wreorder] 151 | Position pos_; | ^~~~ Location.cxx:183:1: warning: when initialized here [-Wreorder] 183 | BracketOrigin::BracketOrigin(const Location &loc, Position pos) | ^~~~~~~~~~~~~ Location.cxx: In constructor 'OpenSP::EntityOriginImpl::EntityOriginImpl(const OpenSP::ConstPtr&)': Location.cxx:75:9: warning: 'OpenSP::EntityOriginImpl::refLength_' will be initialized after [-Wreorder] 75 | Index refLength_; | ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] 72 | ConstPtr entity_; // 0 for document entity | ^~~~~~~ Location.cxx:361:1: warning: when initialized here [-Wreorder] 361 | EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity) | ^~~~~~~~~~~~~~~~ Location.cxx: In constructor 'OpenSP::EntityOriginImpl::EntityOriginImpl(const OpenSP::ConstPtr&, const OpenSP::Location&)': Location.cxx:75:9: warning: 'OpenSP::EntityOriginImpl::refLength_' will be initialized after [-Wreorder] 75 | Index refLength_; | ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] 72 | ConstPtr entity_; // 0 for document entity | ^~~~~~~ Location.cxx:366:1: warning: when initialized here [-Wreorder] 366 | EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity, | ^~~~~~~~~~~~~~~~ Location.cxx: In constructor 'OpenSP::EntityOriginImpl::EntityOriginImpl(const OpenSP::ConstPtr&, const OpenSP::Location&, OpenSP::Index, OpenSP::Owner&)': Location.cxx:75:9: warning: 'OpenSP::EntityOriginImpl::refLength_' will be initialized after [-Wreorder] 75 | Index refLength_; | ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] 72 | ConstPtr entity_; // 0 for document entity | ^~~~~~~ Location.cxx:372:1: warning: when initialized here [-Wreorder] 372 | EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity, | ^~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]': ../include/Markup.h:41:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]' ../include/Markup.h:41:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Message.lo Message.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Message.cxx -fPIC -DPIC -o .libs/Message.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from Message.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Message.h: In constructor 'OpenSP::MessageFragment::MessageFragment(const OpenSP::MessageModule*, unsigned int, const char*)': ../include/Message.h:52:15: warning: 'OpenSP::MessageFragment::text_' will be initialized after [-Wreorder] 52 | const char *text_; | ^~~~~ ../include/Message.h:46:18: warning: 'short unsigned int OpenSP::MessageFragment::number_' [-Wreorder] 46 | unsigned short number_; | ^~~~~~~ Message.cxx:16:1: warning: when initialized here [-Wreorder] 16 | MessageFragment::MessageFragment(const MessageModule *module, unsigned number, const char * | ^~~~~~~~~~~~~~~ ../include/Message.h: In constructor 'OpenSP::MessageType::MessageType(Severity, const OpenSP::MessageModule*, unsigned int, const char*, const char*, const char*)': ../include/Message.h:77:15: warning: 'OpenSP::MessageType::auxText_' will be initialized after [-Wreorder] 77 | const char *auxText_; | ^~~~~~~~ Message.cxx:46:39: warning: base 'OpenSP::MessageFragment' [-Wreorder] 46 | MessageFragment(module, number, text) | ^ Message.cxx:31:1: warning: when initialized here [-Wreorder] 31 | MessageType::MessageType(Severity severity, const MessageModule *module, unsigned number, | ^~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::CopyOwner; size_t = long unsigned int]': Message.cxx:142:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' Message.cxx:137:18: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:14: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::OpenElementInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::OpenElementInfo]' Message.cxx:137:18: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Markup.lo Markup.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Markup.cxx -fPIC -DPIC -o .libs/Markup.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from ../include/Markup.h:12, from Markup.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::SdTextItem]': ../include/SdText.h:30:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Markup.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15, from Markup.cxx:13: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SdTextItem]' ../include/SdText.h:30:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SdTextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Markup.h:16: ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12, from ../include/Sd.h:14: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::SdTextItem]' ../include/SdText.h:30:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SdTextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Lpd.lo Lpd.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Lpd.cxx -fPIC -DPIC -o .libs/Lpd.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from ../include/Lpd.h:10, from Lpd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Lpd.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Lpd.h: In constructor 'OpenSP::Lpd::Lpd(const OpenSP::StringC&, Type, const OpenSP::Location&, const OpenSP::Ptr&)': ../include/Lpd.h:55:35: warning: 'OpenSP::Lpd::name_' will be initialized after [-Wreorder] 55 | ConstPtr > name_; | ^~~~~ ../include/Lpd.h:51:8: warning: 'OpenSP::Lpd::Type OpenSP::Lpd::type_' [-Wreorder] 51 | Type type_; | ^~~~~ Lpd.cxx:14:1: warning: when initialized here [-Wreorder] 14 | Lpd::Lpd(const StringC &name, Type type, const Location &location, | ^~~ ../include/Lpd.h: In constructor 'OpenSP::ComplexLpd::ComplexLpd(const OpenSP::StringC&, OpenSP::Lpd::Type, const OpenSP::Location&, const OpenSP::Syntax&, const OpenSP::Ptr&, const OpenSP::Ptr&)': ../include/Lpd.h:191:10: warning: 'OpenSP::ComplexLpd::nAttributeDefinitionList_' will be initialized after [-Wreorder] 191 | size_t nAttributeDefinitionList_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Lpd.h:187:11: warning: 'OpenSP::LinkSet OpenSP::ComplexLpd::initialLinkSet_' [-Wreorder] 187 | LinkSet initialLinkSet_; | ^~~~~~~~~~~~~~~ Lpd.cxx:149:1: warning: when initialized here [-Wreorder] 149 | ComplexLpd::ComplexLpd(const StringC &name, Type type, | ^~~~~~~~~~ ../include/Lpd.h:188:11: warning: 'OpenSP::ComplexLpd::emptyLinkSet_' will be initialized after [-Wreorder] 188 | LinkSet emptyLinkSet_; | ^~~~~~~~~~~~~ ../include/Lpd.h:185:46: warning: 'OpenSP::Vector > OpenSP::ComplexLpd::linkAttributeDefs_' [-Wreorder] 185 | Vector > linkAttributeDefs_; | ^~~~~~~~~~~~~~~~~~ Lpd.cxx:149:1: warning: when initialized here [-Wreorder] 149 | ComplexLpd::ComplexLpd(const StringC &name, Type type, | ^~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::Vector >; size_t = long unsigned int]': Lpd.cxx:77:29: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector > >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector > >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ConstPtr; size_t = long unsigned int]': Lpd.cxx:160:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Lpd.h:19: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13, from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Vector >]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Vector >]' Lpd.cxx:77:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Vector >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:19:7: note: 'class OpenSP::Vector >' declared here 19 | class Vector { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ResultElementSpec]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ResultElementSpec]' Lpd.cxx:77:74: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ResultElementSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Lpd.h:27:15: note: 'struct OpenSP::ResultElementSpec' declared here 27 | struct SP_API ResultElementSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::Attribute]' ../include/Attribute.h:482:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::IdLinkRule]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::IdLinkRule]' Lpd.cxx:139:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::IdLinkRule' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Lpd.h:124:14: note: 'class OpenSP::IdLinkRule' declared here 124 | class SP_API IdLinkRule : public SourceLinkRule { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' Lpd.cxx:160:3: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/Vector.cxx:132:17: required from 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Vector >]' ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Vector >]' Lpd.cxx:77:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageFormatter.lo MessageFormatter.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c MessageFormatter.cxx -fPIC -DPIC -o .libs/MessageFormatter.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from MessageFormatter.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageEventHandler.lo MessageEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c MessageEventHandler.cxx -fPIC -DPIC -o .libs/MessageEventHandler.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageTable.lo MessageTable.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c MessageTable.cxx -fPIC -DPIC -o .libs/MessageTable.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageTable.h:11, from MessageTable.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ModeInfo.lo ModeInfo.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ModeInfo.cxx -fPIC -DPIC -o .libs/ModeInfo.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from ModeInfo.cxx:12: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ModeInfo.cxx:14: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageReporter.lo MessageReporter.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c MessageReporter.cxx -fPIC -DPIC -o .libs/MessageReporter.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from MessageReporter.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ MessageReporter.cxx: In constructor 'OpenSP::XMLMessageReporter::XMLMessageReporter(OpenSP::OutputCharStream*)': MessageReporter.cxx:31:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 31 | if ( fmt ) | ^ MessageReporter.cxx: In member function 'virtual void OpenSP::XMLMessageReporter::printLocation(const OpenSP::ExternalInfo*, OpenSP::Offset)': MessageReporter.cxx:372:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 372 | for (int i=0; i::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o NotationStorage.lo NotationStorage.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c NotationStorage.cxx -fPIC -DPIC -o .libs/NotationStorage.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/NotationStorage.h:10, from NotationStorage.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Notation.lo Notation.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Notation.cxx -fPIC -DPIC -o .libs/Notation.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Notation.h:14, from Notation.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ParserState.h:17, from Notation.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ParserState.h:25: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Notation.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Notation.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' ../include/Text.h:55:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o NumericCharRefOrigin.lo NumericCharRefOrigin.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c NumericCharRefOrigin.cxx -fPIC -DPIC -o .libs/NumericCharRefOrigin.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from NumericCharRefOrigin.h:8, from NumericCharRefOrigin.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from NumericCharRefOrigin.h:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o OffsetOrderedList.lo OffsetOrderedList.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c OffsetOrderedList.cxx -fPIC -DPIC -o .libs/OffsetOrderedList.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/NCVector.h:51, from OffsetOrderedList.h:9, from OffsetOrderedList.cxx:5: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' OffsetOrderedList.cxx:13:42: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OffsetOrderedList.h:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o OpenElement.lo OpenElement.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c OpenElement.cxx -fPIC -DPIC -o .libs/OpenElement.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/OpenElement.h: In constructor 'OpenSP::OpenElement::OpenElement(const OpenSP::ElementType*, OpenSP::Boolean, OpenSP::Boolean, const OpenSP::ShortReferenceMap*, const OpenSP::Location&)': ../include/OpenElement.h:66:12: warning: 'OpenSP::OpenElement::startLocation_' will be initialized after [-Wreorder] 66 | Location startLocation_; | ^~~~~~~~~~~~~~ ../include/OpenElement.h:64:38: warning: 'OpenSP::ElementDefinition::DeclaredContent OpenSP::OpenElement::declaredContent_' [-Wreorder] 64 | ElementDefinition::DeclaredContent declaredContent_; | ^~~~~~~~~~~~~~~~ OpenElement.cxx:14:1: warning: when initialized here [-Wreorder] 14 | OpenElement::OpenElement(const ElementType *type, | ^~~~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Text.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/OpenElement.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputByteStream.lo OutputByteStream.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c OutputByteStream.cxx -fPIC -DPIC -o .libs/OutputByteStream.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputCharStream.lo OutputCharStream.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c OutputCharStream.cxx -fPIC -DPIC -o .libs/OutputCharStream.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from OutputCharStream.cxx:5: ../include/OutputCharStream.h: In constructor 'OpenSP::EncodeOutputCharStream::EncodeOutputCharStream(OpenSP::OutputByteStream*, const OpenSP::OutputCodingSystem*)': ../include/OutputCharStream.h:67:11: warning: 'OpenSP::EncodeOutputCharStream::escaper_' will be initialized after [-Wreorder] 67 | Escaper escaper_; | ^~~~~~~~ ../include/OutputCharStream.h:66:18: warning: 'OpenSP::Owner OpenSP::EncodeOutputCharStream::ownedEncoder_' [-Wreorder] 66 | Owner ownedEncoder_; | ^~~~~~~~~~~~~ OutputCharStream.cxx:76:1: warning: when initialized here [-Wreorder] 76 | EncodeOutputCharStream::EncodeOutputCharStream(OutputByteStream *byteStream, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/OutputCharStream.h: In constructor 'OpenSP::EncodeOutputCharStream::EncodeOutputCharStream(OpenSP::OutputByteStream*, OpenSP::Encoder*)': ../include/OutputCharStream.h:67:11: warning: 'OpenSP::EncodeOutputCharStream::escaper_' will be initialized after [-Wreorder] 67 | Escaper escaper_; | ^~~~~~~~ ../include/OutputCharStream.h:65:12: warning: 'OpenSP::Encoder* OpenSP::EncodeOutputCharStream::encoder_' [-Wreorder] 65 | Encoder *encoder_; | ^~~~~~~~ OutputCharStream.cxx:89:1: warning: when initialized here [-Wreorder] 89 | EncodeOutputCharStream::EncodeOutputCharStream(OutputByteStream *byteStream, | ^~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Param.lo Param.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Param.cxx -fPIC -DPIC -o .libs/Param.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from Param.h:11, from Param.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Param.h:19: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::NameToken]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::NameToken]' Param.h:33:11: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::NameToken' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Param.h:16: NameToken.h:14:8: note: 'struct OpenSP::NameToken' declared here 14 | struct NameToken { | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputState.lo OutputState.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c OutputState.cxx -fPIC -DPIC -o .libs/OutputState.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from OutputState.h:10, from OutputState.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from OutputState.h:11: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from OutputState.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserOptions.lo ParserOptions.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ParserOptions.cxx -fPIC -DPIC -o .libs/ParserOptions.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ParserOptions.cxx:8: ../include/ParserOptions.h: In constructor 'OpenSP::ParserOptions::ParserOptions()': ../include/ParserOptions.h:101:9: warning: 'OpenSP::ParserOptions::typeValid' will be initialized after [-Wreorder] 101 | short typeValid; | ^~~~~~~~~ ../include/ParserOptions.h:99:17: warning: 'OpenSP::PackedBoolean OpenSP::ParserOptions::shortref' [-Wreorder] 99 | PackedBoolean shortref; | ^~~~~~~~ ParserOptions.cxx:15:1: warning: when initialized here [-Wreorder] 15 | ParserOptions::ParserOptions() | ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ParserOptions.h:12: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ParserOptions.cxx:41:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/ParserOptions.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserApp.lo ParserApp.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ParserApp.cxx -fPIC -DPIC -o .libs/ParserApp.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/ArcEngine.h:31:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' ../include/ArcEngine.h:31:7: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from ../include/ParserApp.h:13: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserEventGeneratorKit.lo ParserEventGeneratorKit.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ParserEventGeneratorKit.cxx -fPIC -DPIC -o .libs/ParserEventGeneratorKit.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from ../include/ParserApp.h:13: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Parser.lo Parser.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Parser.cxx -fPIC -DPIC -o .libs/Parser.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from Parser.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' ../include/PointerTable.h:18:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]' ../include/CharsetDecl.h:73:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o PosixStorage.lo PosixStorage.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c PosixStorage.cxx -fPIC -DPIC -o .libs/PosixStorage.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/List.h:7, from ../include/DescriptorManager.h:8, from ../include/PosixStorage.h:11, from PosixStorage.cxx:9: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.cxx:7, from ../include/List.h:48: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from PosixStorage.cxx:16: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ PosixStorage.cxx: In constructor 'OpenSP::PosixBaseStorageObject::PosixBaseStorageObject(int, OpenSP::Boolean)': PosixStorage.cxx:80:17: warning: 'OpenSP::PosixBaseStorageObject::eof_' will be initialized after [-Wreorder] 80 | PackedBoolean eof_; | ^~~~ PosixStorage.cxx:92:58: warning: base 'OpenSP::RewindStorageObject' [-Wreorder] 92 | RewindStorageObject(mayRewind, mayRewind && canSeek(fd)) | ^ PosixStorage.cxx:90:1: warning: when initialized here [-Wreorder] 90 | PosixBaseStorageObject::PosixBaseStorageObject(int fd, Boolean mayRewind) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/PosixStorage.h: In constructor 'OpenSP::PosixStorageManager::PosixStorageManager(const char*, const OpenSP::CharsetInfo*, const OpenSP::OutputCodingSystem*, int, OpenSP::Boolean)': ../include/PosixStorage.h:58:15: warning: 'OpenSP::PosixStorageManager::type_' will be initialized after [-Wreorder] 58 | const char *type_; | ^~~~~ ../include/PosixStorage.h:56:29: warning: 'const OpenSP::OutputCodingSystem* OpenSP::PosixStorageManager::filenameCodingSystem_' [-Wreorder] 56 | const OutputCodingSystem *filenameCodingSystem_; | ^~~~~~~~~~~~~~~~~~~~~ PosixStorage.cxx:163:1: warning: when initialized here [-Wreorder] 163 | PosixStorageManager::PosixStorageManager(const char *type, | ^~~~~~~~~~~~~~~~~~~ ../include/PosixStorage.h:56:29: warning: 'OpenSP::PosixStorageManager::filenameCodingSystem_' will be initialized after [-Wreorder] 56 | const OutputCodingSystem *filenameCodingSystem_; | ^~~~~~~~~~~~~~~~~~~~~ ../include/PosixStorage.h:53:21: warning: 'OpenSP::DescriptorManager OpenSP::PosixStorageManager::descriptorManager_' [-Wreorder] 53 | DescriptorManager descriptorManager_; | ^~~~~~~~~~~~~~~~~~ PosixStorage.cxx:163:1: warning: when initialized here [-Wreorder] 163 | PosixStorageManager::PosixStorageManager(const char *type, | ^~~~~~~~~~~~~~~~~~~ PosixStorage.cxx: In constructor 'OpenSP::PosixStorageObject::PosixStorageObject(int, const OpenSP::StringC&, const OpenSP::String&, OpenSP::Boolean, OpenSP::DescriptorManager*)': PosixStorage.cxx:502:23: warning: base 'OpenSP::DescriptorUser' will be initialized after [-Wreorder] 502 | cfilename_(cfilename) | ^ PosixStorage.cxx:502:23: warning: base 'OpenSP::PosixBaseStorageObject' [-Wreorder] PosixStorage.cxx:493:1: warning: when initialized here [-Wreorder] 493 | PosixStorageObject::PosixStorageObject(int fd, | ^~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/PosixStorage.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' PosixStorage.cxx:176:43: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/StorageManager.h:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Recognizer.lo Recognizer.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Recognizer.cxx -fPIC -DPIC -o .libs/Recognizer.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/XcharMap.h:9, from Recognizer.cxx:11: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Recognizer.cxx:12: Recognizer.h: In constructor 'OpenSP::Recognizer::Recognizer(OpenSP::Trie*, const OpenSP::XcharMap&)': Recognizer.h:35:23: warning: 'OpenSP::Recognizer::map_' will be initialized after [-Wreorder] 35 | XcharMap map_; | ^~~~ Recognizer.h:33:11: warning: 'OpenSP::Boolean OpenSP::Recognizer::multicode_' [-Wreorder] 33 | Boolean multicode_; | ^~~~~~~~~~ Recognizer.cxx:19:1: warning: when initialized here [-Wreorder] 19 | Recognizer::Recognizer(Trie *trie, const XcharMap &map) | ^~~~~~~~~~ Recognizer.h: In constructor 'OpenSP::Recognizer::Recognizer(OpenSP::Trie*, const OpenSP::XcharMap&, OpenSP::Vector&)': Recognizer.h:35:23: warning: 'OpenSP::Recognizer::map_' will be initialized after [-Wreorder] 35 | XcharMap map_; | ^~~~ Recognizer.h:33:11: warning: 'OpenSP::Boolean OpenSP::Recognizer::multicode_' [-Wreorder] 33 | Boolean multicode_; | ^~~~~~~~~~ Recognizer.cxx:24:1: warning: when initialized here [-Wreorder] 24 | Recognizer::Recognizer(Trie *trie, const XcharMap &map, | ^~~~~~~~~~ Recognizer.cxx: In member function 'OpenSP::Token OpenSP::Recognizer::recognize(OpenSP::InputSource*, OpenSP::Messenger&) const': Recognizer.cxx:42:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 42 | register const Trie *pos = trie_.pointer(); | ^~~ In file included from Trie.h:10, from Recognizer.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Partition.lo Partition.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Partition.cxx -fPIC -DPIC -o .libs/Partition.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/XcharMap.h:9, from Partition.h:14, from Partition.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Partition.cxx:13: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from Partition.cxx:14: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/SubstTable.h:9, from Partition.h:11: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' Partition.cxx:37:9: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SubstTable.h:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SGMLApplication.lo SGMLApplication.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c SGMLApplication.cxx -fPIC -DPIC -o .libs/SGMLApplication.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o RewindStorageObject.lo RewindStorageObject.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c RewindStorageObject.cxx -fPIC -DPIC -o .libs/RewindStorageObject.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from RewindStorageObject.cxx:9: ../include/RewindStorageObject.h: In constructor 'OpenSP::RewindStorageObject::RewindStorageObject(OpenSP::Boolean, OpenSP::Boolean)': ../include/RewindStorageObject.h:29:17: warning: 'OpenSP::RewindStorageObject::canSeek_' will be initialized after [-Wreorder] 29 | PackedBoolean canSeek_; | ^~~~~~~~ ../include/RewindStorageObject.h:27:17: warning: 'OpenSP::PackedBoolean OpenSP::RewindStorageObject::savingBytes_' [-Wreorder] 27 | PackedBoolean savingBytes_; | ^~~~~~~~~~~~ RewindStorageObject.cxx:16:1: warning: when initialized here [-Wreorder] 16 | RewindStorageObject::RewindStorageObject(Boolean mayRewind, Boolean canSeek) | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/RewindStorageObject.h:4: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SJISCodingSystem.lo SJISCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c SJISCodingSystem.cxx -fPIC -DPIC -o .libs/SJISCodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SdText.lo SdText.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c SdText.cxx -fPIC -DPIC -o .libs/SdText.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/SdText.h:14, from SdText.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/SdText.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SdTextItem]' SdText.cxx:14:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SdTextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SearchResultMessageArg.lo SearchResultMessageArg.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c SearchResultMessageArg.cxx -fPIC -DPIC -o .libs/SearchResultMessageArg.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/MessageArg.h:11, from ../include/SearchResultMessageArg.h:11, from SearchResultMessageArg.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/SearchResultMessageArg.h:21:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = unsigned int]': ../include/SearchResultMessageArg.h:21:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' SearchResultMessageArg.cxx:17:48: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/MessageArg.h:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' ../include/SearchResultMessageArg.h:21:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Sd.lo Sd.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Sd.cxx -fPIC -DPIC -o .libs/Sd.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ExternalId.h:12, from ../include/Sd.h:14, from Sd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Sd.h: In constructor 'OpenSP::Sd::Sd(const OpenSP::Ptr&)': ../include/Sd.h:271:22: warning: 'OpenSP::Sd::entityManager_' will be initialized after [-Wreorder] 271 | Ptr entityManager_; | ^~~~~~~~~~~~~~ ../include/Sd.h:258:17: warning: 'OpenSP::PackedBoolean OpenSP::Sd::internalCharsetIsDocCharset_' [-Wreorder] 258 | PackedBoolean internalCharsetIsDocCharset_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sd.cxx:15:1: warning: when initialized here [-Wreorder] 15 | Sd::Sd(const Ptr &entityManager) | ^~ ../include/Sd.h:269:11: warning: 'OpenSP::Sd::integrallyStored_' will be initialized after [-Wreorder] 269 | Boolean integrallyStored_; | ^~~~~~~~~~~~~~~~~ ../include/Sd.h:267:19: warning: 'OpenSP::Sd::ImplydefElement OpenSP::Sd::implydefElement_' [-Wreorder] 267 | ImplydefElement implydefElement_; | ^~~~~~~~~~~~~~~~ Sd.cxx:15:1: warning: when initialized here [-Wreorder] 15 | Sd::Sd(const Ptr &entityManager) | ^~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/Sd.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]' ../include/CharsetDecl.h:73:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::HashTableItemBase >*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::HashTableItemBase >*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::HashTableKeyFunction >; OpenSP::Boolean = bool]' ../include/HashTable.cxx:15:66: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = int; OpenSP::Boolean = bool]' Sd.cxx:263:27: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserState.lo ParserState.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ParserState.cxx -fPIC -DPIC -o .libs/ParserState.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from ParserState.h:13, from ParserState.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ParserState.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ParserState.h:25: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ParserState.cxx:13: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ ParserState.h: In constructor 'OpenSP::ParserState::ParserState(const OpenSP::Ptr&, const OpenSP::ParserOptions&, unsigned int, Phase)': ParserState.h:241:22: warning: 'OpenSP::ParserState::entityManager_' will be initialized after [-Wreorder] 241 | Ptr entityManager_; | ^~~~~~~~~~~~~~ ParserState.h:229:17: warning: 'OpenSP::ParserOptions OpenSP::ParserState::options_' [-Wreorder] 229 | ParserOptions options_; | ^~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:268:11: warning: 'OpenSP::ParserState::keepingMessages_' will be initialized after [-Wreorder] 268 | Boolean keepingMessages_; | ^~~~~~~~~~~~~~~~ ParserState.h:264:13: warning: 'OpenSP::Allocator OpenSP::ParserState::eventAllocator_' [-Wreorder] 264 | Allocator eventAllocator_; | ^~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:265:13: warning: 'OpenSP::ParserState::internalAllocator_' will be initialized after [-Wreorder] 265 | Allocator internalAllocator_; | ^~~~~~~~~~~~~~~~~~ ParserState.h:230:17: warning: 'OpenSP::EventHandler* OpenSP::ParserState::handler_' [-Wreorder] 230 | EventHandler *handler_; | ^~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:281:12: warning: 'OpenSP::ParserState::inputLevel_' will be initialized after [-Wreorder] 281 | unsigned inputLevel_; | ^~~~~~~~~~~ ParserState.h:274:12: warning: 'unsigned int OpenSP::ParserState::specialParseInputLevel_' [-Wreorder] 274 | unsigned specialParseInputLevel_; | ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:277:12: warning: 'OpenSP::ParserState::markedSectionSpecialLevel_' will be initialized after [-Wreorder] 277 | unsigned markedSectionSpecialLevel_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ParserState.h:270:8: warning: 'OpenSP::Mode OpenSP::ParserState::currentMode_' [-Wreorder] 270 | Mode currentMode_; | ^~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:270:8: warning: 'OpenSP::ParserState::currentMode_' will be initialized after [-Wreorder] 270 | Mode currentMode_; | ^~~~~~~~~~~~ ParserState.h:254:11: warning: 'OpenSP::Boolean OpenSP::ParserState::hadLpd_' [-Wreorder] 254 | Boolean hadLpd_; | ^~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:256:11: warning: 'OpenSP::ParserState::pass2_' will be initialized after [-Wreorder] 256 | Boolean pass2_; | ^~~~~~ ParserState.h:253:19: warning: 'OpenSP::Boolean OpenSP::ParserState::activeLinkTypesSubsted_' [-Wreorder] 253 | mutable Boolean activeLinkTypesSubsted_; | ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:253:19: warning: 'OpenSP::ParserState::activeLinkTypesSubsted_' will be initialized after [-Wreorder] 253 | mutable Boolean activeLinkTypesSubsted_; | ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.h:232:11: warning: 'OpenSP::Boolean OpenSP::ParserState::allowPass2_' [-Wreorder] 232 | Boolean allowPass2_; | ^~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:301:32: warning: 'OpenSP::ParserState::cancelPtr_' will be initialized after [-Wreorder] 301 | const volatile sig_atomic_t *cancelPtr_; | ^~~~~~~~~~ ParserState.h:244:9: warning: 'OpenSP::ParserState::Phase OpenSP::ParserState::finalPhase_' [-Wreorder] 244 | Phase finalPhase_; | ^~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:298:11: warning: 'OpenSP::ParserState::hadAfdrDecl_' will be initialized after [-Wreorder] 298 | Boolean hadAfdrDecl_; | ^~~~~~~~~~~~ ParserState.h:288:12: warning: 'unsigned int OpenSP::ParserState::instantiatedDtds_' [-Wreorder] 288 | unsigned instantiatedDtds_; | ^~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/ParserOptions.h:85:15: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' ../include/ParserOptions.h:85:15: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ParserState.cxx:79:22: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ParserState.cxx:79:22: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' ParserState.cxx:79:22: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' ParserState.cxx:79:22: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' ../include/PointerTable.h:18:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ParserState.cxx:79:22: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::String; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::String; size_t = long unsigned int]' ParserState.cxx:473:24: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::LpdEntityRef*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::LpdEntityRef*; K = OpenSP::LpdEntityRef; HF = OpenSP::LpdEntityRef; KF = OpenSP::LpdEntityRef; OpenSP::Boolean = bool]' ParserState.cxx:600:26: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SgmlParser.lo SgmlParser.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c SgmlParser.cxx -fPIC -DPIC -o .libs/SgmlParser.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/SgmlParser.h:12, from SgmlParser.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17, from SgmlParser.cxx:10: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ ../include/SgmlParser.h: In constructor 'OpenSP::SgmlParser::Params::Params()': ../include/SgmlParser.h:55:19: warning: 'OpenSP::SgmlParser::Params::subdocReferenced' will be initialized after [-Wreorder] 55 | PackedBoolean subdocReferenced; | ^~~~~~~~~~~~~~~~ ../include/SgmlParser.h:51:14: warning: 'unsigned int OpenSP::SgmlParser::Params::subdocLevel' [-Wreorder] 51 | unsigned subdocLevel; | ^~~~~~~~~~~ SgmlParser.cxx:101:1: warning: when initialized here [-Wreorder] 101 | SgmlParser::Params::Params() | ^~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ParserState.h:48:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ShortReferenceMap.lo ShortReferenceMap.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ShortReferenceMap.cxx -fPIC -DPIC -o .libs/ShortReferenceMap.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Entity.h:13, from ../include/ShortReferenceMap.h:15, from ShortReferenceMap.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ShortReferenceMap.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/ShortReferenceMap.h:12: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o StdioStorage.lo StdioStorage.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c StdioStorage.cxx -fPIC -DPIC -o .libs/StdioStorage.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/List.h:7, from ../include/DescriptorManager.h:8, from ../include/StdioStorage.h:11, from StdioStorage.cxx:9: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.cxx:7, from ../include/List.h:48: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from StdioStorage.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/StdioStorage.h: In constructor 'OpenSP::StdioStorageManager::StdioStorageManager(const char*, const OpenSP::CharsetInfo*, const OpenSP::OutputCodingSystem*)': ../include/StdioStorage.h:40:15: warning: 'OpenSP::StdioStorageManager::type_' will be initialized after [-Wreorder] 40 | const char *type_; | ^~~~~ ../include/StdioStorage.h:39:29: warning: 'const OpenSP::OutputCodingSystem* OpenSP::StdioStorageManager::filenameCodingSystem_' [-Wreorder] 39 | const OutputCodingSystem *filenameCodingSystem_; | ^~~~~~~~~~~~~~~~~~~~~ StdioStorage.cxx:53:1: warning: when initialized here [-Wreorder] 53 | StdioStorageManager::StdioStorageManager(const char *type, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/StdioStorage.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o StorageManager.lo StorageManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c StorageManager.cxx -fPIC -DPIC -o .libs/StorageManager.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from StorageManager.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Text.lo Text.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Text.cxx -fPIC -DPIC -o .libs/Text.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from Text.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::TextItem]' Text.cxx:16:12: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SOEntityCatalog.lo SOEntityCatalog.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c SOEntityCatalog.cxx -fPIC -DPIC -o .libs/SOEntityCatalog.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from CatalogMessages.h:2, from SOEntityCatalog.cxx:11: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from DtdDeclEventHandler.h:8, from SOEntityCatalog.cxx:28: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ SOEntityCatalog.cxx: In member function 'OpenSP::Boolean OpenSP::CatalogParser::isMinimumData(OpenSP::Xchar)': SOEntityCatalog.cxx:208:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 208 | return (cat == min || (cat == s && c != tab_) | ~~^~~~~~~ SOEntityCatalog.cxx: In constructor 'OpenSP::SOCatalogManagerImpl::SOCatalogManagerImpl(const OpenSP::Vector >&, size_t, const OpenSP::CharsetInfo*, const OpenSP::CharsetInfo*, OpenSP::Boolean)': SOEntityCatalog.cxx:59:19: warning: 'OpenSP::SOCatalogManagerImpl::systemCatalogs_' will be initialized after [-Wreorder] 59 | Vector systemCatalogs_; | ^~~~~~~~~~~~~~~ SOEntityCatalog.cxx:58:10: warning: 'size_t OpenSP::SOCatalogManagerImpl::nSystemCatalogsMustExist_' [-Wreorder] 58 | size_t nSystemCatalogsMustExist_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ SOEntityCatalog.cxx:258:1: warning: when initialized here [-Wreorder] 258 | SOCatalogManagerImpl::SOCatalogManagerImpl(const Vector &systemCatalogs, | ^~~~~~~~~~~~~~~~~~~~ SOEntityCatalog.cxx: In constructor 'OpenSP::SOEntityCatalog::SOEntityCatalog(OpenSP::Ptr)': SOEntityCatalog.cxx:154:28: warning: 'OpenSP::SOEntityCatalog::em_' will be initialized after [-Wreorder] 154 | Ptr em_; | ^~~ SOEntityCatalog.cxx:143:10: warning: 'size_t OpenSP::SOEntityCatalog::catalogNumber_' [-Wreorder] 143 | size_t catalogNumber_; | ^~~~~~~~~~~~~~ SOEntityCatalog.cxx:397:1: warning: when initialized here [-Wreorder] 397 | SOEntityCatalog::SOEntityCatalog(Ptr em) | ^~~~~~~~~~~~~~~ SOEntityCatalog.cxx: In constructor 'OpenSP::CatalogParser::CatalogParser(const OpenSP::CharsetInfo&)': SOEntityCatalog.cxx:239:27: warning: 'OpenSP::CatalogParser::categoryTable_' will be initialized after [-Wreorder] 239 | XcharMap categoryTable_; | ^~~~~~~~~~~~~~ SOEntityCatalog.cxx:225:11: warning: 'OpenSP::StringC OpenSP::CatalogParser::entityKey_' [-Wreorder] 225 | StringC entityKey_; | ^~~~~~~~~~ SOEntityCatalog.cxx:795:1: warning: when initialized here [-Wreorder] 795 | CatalogParser::CatalogParser(const CharsetInfo &charset) | ^~~~~~~~~~~~~ SOEntityCatalog.cxx:225:11: warning: 'OpenSP::CatalogParser::entityKey_' will be initialized after [-Wreorder] 225 | StringC entityKey_; | ^~~~~~~~~~ SOEntityCatalog.cxx:223:11: warning: 'OpenSP::StringC OpenSP::CatalogParser::publicKey_' [-Wreorder] 223 | StringC publicKey_; | ^~~~~~~~~~ SOEntityCatalog.cxx:795:1: warning: when initialized here [-Wreorder] 795 | CatalogParser::CatalogParser(const CharsetInfo &charset) | ^~~~~~~~~~~~~ SOEntityCatalog.cxx: In member function 'OpenSP::CatalogParser::Param OpenSP::CatalogParser::parseParam(unsigned int)': SOEntityCatalog.cxx:1105:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1105 | if (c == minus_) { | ~~^~~~~~~~~ SOEntityCatalog.cxx: In member function 'void OpenSP::CatalogParser::skipComment()': SOEntityCatalog.cxx:1122:11: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1122 | if (c == minus_) { | ~~^~~~~~~~~ SOEntityCatalog.cxx:1124:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1124 | if (c == minus_) | ~~^~~~~~~~~ SOEntityCatalog.cxx: In member function 'void OpenSP::CatalogParser::parseLiteral(OpenSP::Char, unsigned int)': SOEntityCatalog.cxx:1150:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1150 | if (c == rs_) | ~~^~~~~~ SOEntityCatalog.cxx:1152:18: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1152 | else if (c == space_ || c == re_) { | ~~^~~~~~~~~ SOEntityCatalog.cxx:1152:33: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1152 | else if (c == space_ || c == re_) { | ~~^~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from SOEntityCatalog.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': SOEntityCatalog.cxx:263:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': SOEntityCatalog.cxx:353:19: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SOEntityCatalog.h:11, from SOEntityCatalog.cxx:12: ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/CharsetInfo.h:14: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' SOEntityCatalog.cxx:263:3: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]' ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]' ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::ParsedSystemId::Map]' ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' SOEntityCatalog.cxx:399:21: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::HashTableItemBase >*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::HashTableItemBase >*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::HashTableKeyFunction >; OpenSP::Boolean = bool]' ../include/HashTable.cxx:15:66: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = OpenSP::CatalogEntry; OpenSP::Boolean = bool]' SOEntityCatalog.cxx:660:19: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o TokenMessageArg.lo TokenMessageArg.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c TokenMessageArg.cxx -fPIC -DPIC -o .libs/TokenMessageArg.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from TokenMessageArg.h:13, from TokenMessageArg.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageArg.h:11, from TokenMessageArg.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from TokenMessageArg.h:14: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o TranslateCodingSystem.lo TranslateCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c TranslateCodingSystem.cxx -fPIC -DPIC -o .libs/TranslateCodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/TranslateCodingSystem.h:8, from TranslateCodingSystem.cxx:6: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CharsetRegistry.h:13, from ../include/TranslateCodingSystem.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o TypeId.lo TypeId.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c TypeId.cxx -fPIC -DPIC -o .libs/TypeId.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Syntax.lo Syntax.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Syntax.cxx -fPIC -DPIC -o .libs/Syntax.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from Syntax.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h: In constructor 'OpenSP::Syntax::Syntax(const OpenSP::Sd&)': ../include/Syntax.h:285:27: warning: 'OpenSP::Syntax::categoryTable_' will be initialized after [-Wreorder] 285 | XcharMap categoryTable_; | ^~~~~~~~~~~~~~ ../include/Syntax.h:268:17: warning: 'OpenSP::PackedBoolean OpenSP::Syntax::shuncharControls_' [-Wreorder] 268 | PackedBoolean shuncharControls_; | ^~~~~~~~~~~~~~~~~ Syntax.cxx:38:1: warning: when initialized here [-Wreorder] 38 | Syntax::Syntax(const Sd &sd) | ^~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from Syntax.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' Syntax.cxx:44:24: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Syntax.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::HashTableItemBase >*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::HashTableItemBase >*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::HashTableKeyFunction >; OpenSP::Boolean = bool]' ../include/HashTable.cxx:15:66: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = unsigned int; OpenSP::Boolean = bool]' Syntax.cxx:156:28: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o TrieBuilder.lo TrieBuilder.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c TrieBuilder.cxx -fPIC -DPIC -o .libs/TrieBuilder.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from Trie.h:10, from TrieBuilder.cxx:11: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o UTF8CodingSystem.lo UTF8CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c UTF8CodingSystem.cxx -fPIC -DPIC -o .libs/UTF8CodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Undo.lo Undo.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Undo.cxx -fPIC -DPIC -o .libs/Undo.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ParserState.h:17, from Undo.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ParserState.h:25: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Text.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/OpenElement.h:12, from Undo.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o UnicodeCodingSystem.lo UnicodeCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c UnicodeCodingSystem.cxx -fPIC -DPIC -o .libs/UnicodeCodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' UnicodeCodingSystem.cxx: In constructor 'OpenSP::UnicodeDecoder::UnicodeDecoder(const OpenSP::InputCodingSystem*)': UnicodeCodingSystem.cxx:38:28: warning: 'OpenSP::UnicodeDecoder::subCodingSystem_' will be initialized after [-Wreorder] 38 | const InputCodingSystem *subCodingSystem_; | ^~~~~~~~~~~~~~~~ UnicodeCodingSystem.cxx:35:17: warning: 'OpenSP::PackedBoolean OpenSP::UnicodeDecoder::hadByteOrderMark_' [-Wreorder] 35 | PackedBoolean hadByteOrderMark_; | ^~~~~~~~~~~~~~~~~ UnicodeCodingSystem.cxx:65:1: warning: when initialized here [-Wreorder] 65 | UnicodeDecoder::UnicodeDecoder(const InputCodingSystem *subCodingSystem) | ^~~~~~~~~~~~~~ UnicodeCodingSystem.cxx: In member function 'virtual size_t OpenSP::UnicodeDecoder::decode(OpenSP::Char*, const char*, size_t, const char**)': UnicodeCodingSystem.cxx:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | if (subDecoder_) | ^~ UnicodeCodingSystem.cxx:82:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 82 | if (fromLen < 2) { | ^~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o URLStorage.lo URLStorage.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c URLStorage.cxx -fPIC -DPIC -o .libs/URLStorage.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from URLStorageMessages.h:2, from URLStorage.cxx:55: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from URLStorage.cxx:54: ../include/URLStorage.h: In constructor 'OpenSP::URLStorageManager::URLStorageManager(const char*)': ../include/URLStorage.h:32:15: warning: 'OpenSP::URLStorageManager::type_' will be initialized after [-Wreorder] 32 | const char *type_; | ^~~~~ URLStorage.cxx:182:47: warning: base 'OpenSP::IdStorageManager' [-Wreorder] 182 | : type_(type), IdStorageManager(&iso646Charset) | ^ URLStorage.cxx:181:1: warning: when initialized here [-Wreorder] 181 | URLStorageManager::URLStorageManager(const char *type) | ^~~~~~~~~~~~~~~~~ URLStorage.cxx: In function 'int OpenSP::strdiff(const char*, char*)': URLStorage.cxx:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 210 | for ( int i = 0; i < strlen(str); ++i) | ~~^~~~~~~~~~~~~ URLStorage.cxx: In member function 'virtual OpenSP::StorageObject* OpenSP::URLStorageManager::makeStorageObject(const OpenSP::StringC&, const OpenSP::StringC&, OpenSP::Boolean, OpenSP::Boolean, OpenSP::Messenger&, OpenSP::StringC&)': URLStorage.cxx:323:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 323 | while ( isspace(*line) ) | ^~~~~ URLStorage.cxx:330:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 330 | { | ^ URLStorage.cxx: In constructor 'OpenSP::HttpSocketStorageObject::HttpSocketStorageObject(SOCKET, OpenSP::Boolean, const OpenSP::StringC&)': URLStorage.cxx:109:10: warning: 'OpenSP::HttpSocketStorageObject::fd_' will be initialized after [-Wreorder] 109 | SOCKET fd_; | ^~~ URLStorage.cxx:108:11: warning: 'OpenSP::Boolean OpenSP::HttpSocketStorageObject::eof_' [-Wreorder] 108 | Boolean eof_; | ^~~~ URLStorage.cxx:526:1: warning: when initialized here [-Wreorder] 526 | HttpSocketStorageObject::HttpSocketStorageObject(SOCKET fd, | ^~~~~~~~~~~~~~~~~~~~~~~ URLStorage.cxx: In member function 'OpenSP::HTTP_RESPONSE_TYPE OpenSP::HttpSocketStorageObject::open(const OpenSP::String&, short unsigned int, const OpenSP::String&, OpenSP::Messenger&, char*)': URLStorage.cxx:565:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 565 | http_ua = "libosp 1.5" ; | ^~~~~~~~~~~~ URLStorage.cxx: In member function 'OpenSP::HTTP_RESPONSE_TYPE OpenSP::HttpSocketStorageObject::readHeader(OpenSP::Messenger&, char*)': URLStorage.cxx:637:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 637 | for (int i=0; i::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o assert.lo assert.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c assert.cxx -fPIC -DPIC -o .libs/assert.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o UnivCharsetDesc.lo UnivCharsetDesc.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c UnivCharsetDesc.cxx -fPIC -DPIC -o .libs/UnivCharsetDesc.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o XMLCodingSystem.lo XMLCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c XMLCodingSystem.cxx -fPIC -DPIC -o .libs/XMLCodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from UnivCharsetDesc.cxx:8: ../include/UnivCharsetDesc.h: In constructor 'OpenSP::UnivCharsetDescIter::UnivCharsetDescIter(const OpenSP::UnivCharsetDesc&)': ../include/UnivCharsetDesc.h:88:11: warning: 'OpenSP::UnivCharsetDescIter::doneCharMap_' will be initialized after [-Wreorder] 88 | Boolean doneCharMap_; | ^~~~~~~~~~~~ ../include/UnivCharsetDesc.h:87:8: warning: 'OpenSP::Char OpenSP::UnivCharsetDescIter::nextChar_' [-Wreorder] 87 | Char nextChar_; | ^~~~~~~~~ UnivCharsetDesc.cxx:137:1: warning: when initialized here [-Wreorder] 137 | UnivCharsetDescIter::UnivCharsetDescIter(const UnivCharsetDesc &desc) | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ XMLCodingSystem.cxx: In constructor 'OpenSP::XMLDecoder::XMLDecoder(const OpenSP::InputCodingSystemKit*)': XMLCodingSystem.cxx:87:31: warning: 'OpenSP::XMLDecoder::kit_' will be initialized after [-Wreorder] 87 | const InputCodingSystemKit *kit_; | ^~~~ XMLCodingSystem.cxx:77:15: warning: 'OpenSP::XMLDecoder::DetectPhase OpenSP::XMLDecoder::phase_' [-Wreorder] 77 | DetectPhase phase_; | ^~~~~~ XMLCodingSystem.cxx:106:1: warning: when initialized here [-Wreorder] 106 | XMLDecoder::XMLDecoder(const InputCodingSystemKit *kit) | ^~~~~~~~~~ XMLCodingSystem.cxx: In member function 'virtual size_t OpenSP::XMLDecoder::decode(OpenSP::Char*, const char*, size_t, const char**)': XMLCodingSystem.cxx:219:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 219 | for (; fromLen > guessBytesPerChar_; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CodingSystemKit.h:15, from XMLCodingSystem.cxx:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseAttribute.lo parseAttribute.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c parseAttribute.cxx -fPIC -DPIC -o .libs/parseAttribute.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseAttribute.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ parseAttribute.cxx: In member function 'void OpenSP::Parser::extendUnquotedAttributeValue()': parseAttribute.cxx:383:14: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'unsigned int' [-Wsign-compare] 383 | || c == syn.delimGeneral(Syntax::dTAGC)[0]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ parseAttribute.cxx: In member function 'OpenSP::Parser::parseAttributeSpec(OpenSP::Mode, OpenSP::AttributeList&, bool&, OpenSP::Ptr&)': parseAttribute.cxx:51:52: warning: 'nameMarkupIndex' may be used uninitialized [-Wmaybe-uninitialized] 51 | currentMarkup()->changeToAttributeValue(nameMarkupIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ parseAttribute.cxx:34:16: note: 'nameMarkupIndex' was declared here 34 | size_t nameMarkupIndex; | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseCommon.lo parseCommon.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c parseCommon.cxx -fPIC -DPIC -o .libs/parseCommon.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseCommon.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseInstance.lo parseInstance.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c parseInstance.cxx -fPIC -DPIC -o .libs/parseInstance.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseInstance.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o splib.lo splib.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c splib.cxx -fPIC -DPIC -o .libs/splib.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o app_inst.lo app_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c app_inst.cxx -fPIC -DPIC -o .libs/app_inst.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseMode.lo parseMode.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c parseMode.cxx -fPIC -DPIC -o .libs/parseMode.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseMode.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 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] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SrInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SrInfo]' 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] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parseMode.cxx:11: SrInfo.h:14:8: note: 'struct OpenSP::SrInfo' declared here 14 | struct SrInfo { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o arc_inst.lo arc_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c arc_inst.cxx -fPIC -DPIC -o .libs/arc_inst.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseParam.lo parseParam.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c parseParam.cxx -fPIC -DPIC -o .libs/parseParam.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseParam.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/NCVector.h:12, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::Owner; size_t = long unsigned int]': parseParam.cxx:766:39: required from here ../include/Vector.h:66:6: warning: 'OpenSP::NCVector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] 4 | #define Vector NCVector | ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::NameToken]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::NameToken]' Param.h:33:11: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::NameToken' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Param.h:16, from parseParam.cxx:6: NameToken.h:14:8: note: 'struct OpenSP::NameToken' declared here 14 | struct NameToken { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Text]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Text]' Group.h:24:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Text' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c entmgr_inst.cxx -fPIC -DPIC -o .libs/entmgr_inst.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parser_inst.lo parser_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c parser_inst.cxx -fPIC -DPIC -o .libs/parser_inst.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c xentmgr_inst.cxx -fPIC -DPIC -o .libs/xentmgr_inst.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SubstTable.lo SubstTable.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c SubstTable.cxx -fPIC -DPIC -o .libs/SubstTable.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o Fixed4CodingSystem.lo Fixed4CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c Fixed4CodingSystem.cxx -fPIC -DPIC -o .libs/Fixed4CodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o UTF16CodingSystem.lo UTF16CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c UTF16CodingSystem.cxx -fPIC -DPIC -o .libs/UTF16CodingSystem.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o memcmp.lo memcmp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c memcmp.c -fPIC -DPIC -o .libs/memcmp.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o memmove.lo memmove.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c memmove.c -fPIC -DPIC -o .libs/memmove.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o strerror.lo strerror.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c strerror.c -fPIC -DPIC -o .libs/strerror.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseSd.lo parseSd.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c parseSd.cxx -fPIC -DPIC -o .libs/parseSd.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseSd.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ parseSd.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::scanForSgmlDecl(const OpenSP::CharsetInfo&)': parseSd.cxx:609:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 609 | while (c == rs || c == space || c == re || c == tab) | ~~^~~~~ parseSd.cxx:609:23: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 609 | while (c == rs || c == space || c == re || c == tab) | ~~^~~~~~~~ parseSd.cxx:609:37: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 609 | while (c == rs || c == space || c == re || c == tab) | ~~^~~~~ parseSd.cxx:609:48: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 609 | while (c == rs || c == space || c == re || c == tab) | ~~^~~~~~ parseSd.cxx:611:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 611 | if (c != initCharset.execToDesc('<')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:613:34: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 613 | if (in->tokenChar(messenger()) != initCharset.execToDesc('!')) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:616:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 616 | if (c != initCharset.execToDesc('S') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:617:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 617 | && c != initCharset.execToDesc('s')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:620:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 620 | if (c != initCharset.execToDesc('G') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:621:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 621 | && c != initCharset.execToDesc('g')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:624:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 624 | if (c != initCharset.execToDesc('M') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:625:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 625 | && c != initCharset.execToDesc('m')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:628:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 628 | if (c != initCharset.execToDesc('L') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:629:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 629 | && c != initCharset.execToDesc('l')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:636:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 636 | if (c == initCharset.execToDesc('-')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:638:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 638 | if (c == initCharset.execToDesc('.')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::sdParseFeatures(OpenSP::SdBuilder&, OpenSP::SdParam&)': parseSd.cxx:2397:14: warning: enumeration value 'rALL' not handled in switch [-Wswitch] 2397 | switch (features[i].name) { | ^ parseSd.cxx:2397:14: warning: enumeration value 'rANY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rANYOTHER' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rAPPINFO' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rATTLIST' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rATTRIB' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rBASESET' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rCAPACITY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rCHARSET' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rCONCUR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rCONTROLS' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDATATAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDEFAULT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDELIM' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDESCSET' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDOCTYPE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDOCUMENT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rELEMENT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rEMPTY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rENDTAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rENTITIES' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rENTITY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rEXPLICIT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rFEATURES' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rFORMAL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rFUNCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rFUNCTION' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rGENERAL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rIMMEDNET' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rIMPLICIT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rIMPLYDEF' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rINSTANCE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rINTEGRAL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rINTERNAL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rKEEPRSRE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rLCNMCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rLCNMSTRT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rLINK' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rMINIMIZE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rMSICHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rMSOCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rMSSCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMECASE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMECHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMES' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMESTRT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMING' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNETENABL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNO' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNOASSERT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNONE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNOTATION' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rOMITNAME' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rOMITTAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rOTHER' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rPUBLIC' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rQUANTITY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rRANK' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rRE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rREF' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rRS' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSCOPE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSEEALSO' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSEPCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSGML' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSGMLREF' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSHORTREF' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSHORTTAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSHUNCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSIMPLE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSPACE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSTARTTAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSUBDOC' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSWITCHES' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSYNTAX' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSYSTEM' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rTYPE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rUCNMCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rUCNMSTRT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rUNCLOSED' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rUNUSED' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rURN' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rVALIDITY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rVALUE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rYES' not handled in switch [-Wswitch] parseSd.cxx:2340:12: warning: enumeration value 'none' not handled in switch [-Wswitch] 2340 | switch (features[i].arg) { | ^ parseSd.cxx: In constructor 'OpenSP::SdBuilder::SdBuilder()': parseSd.cxx:50:11: warning: 'OpenSP::SdBuilder::valid' will be initialized after [-Wreorder] 50 | Boolean valid; | ^~~~~ parseSd.cxx:47:11: warning: 'OpenSP::Boolean OpenSP::SdBuilder::externalSyntax' [-Wreorder] 47 | Boolean externalSyntax; | ^~~~~~~~~~~~~~ parseSd.cxx:3378:1: warning: when initialized here [-Wreorder] 3378 | SdBuilder::SdBuilder() | ^~~~~~~~~ In file included from parseSd.cxx:7: SdFormalError.h: In constructor 'OpenSP::SdFormalError::SdFormalError(const OpenSP::Location&, const OpenSP::MessageType1&, const OpenSP::StringC&)': SdFormalError.h:24:12: warning: 'OpenSP::SdFormalError::location_' will be initialized after [-Wreorder] 24 | Location location_; | ^~~~~~~~~ SdFormalError.h:23:23: warning: 'const OpenSP::MessageType1* OpenSP::SdFormalError::message_' [-Wreorder] 23 | const MessageType1 *message_; | ^~~~~~~~ parseSd.cxx:3390:1: warning: when initialized here [-Wreorder] 3390 | SdFormalError::SdFormalError(const Location &location, | ^~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ISetRange]': ../include/ISet.h:25:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]' ../include/CharsetDecl.h:73:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SdTextItem]' ../include/SdText.h:30:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SdTextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Markup.h:16: ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ parseSd.cxx: In member function 'OpenSP::Parser::translateName(OpenSP::SdBuilder&, OpenSP::String const&, OpenSP::String&)': parseSd.cxx:2671:29: warning: 'univChar' may be used uninitialized [-Wmaybe-uninitialized] 2671 | univChar = translateUniv(univChar, sdBuilder.switcher, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2672 | sdBuilder.syntaxCharset); | ~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:2668:14: note: 'univChar' declared here 2668 | UnivChar univChar; | ^~~~~~~~ parseSd.cxx: In member function 'OpenSP::Parser::translateRange(OpenSP::SdBuilder&, unsigned int, unsigned int, OpenSP::ISet&)': parseSd.cxx:2549:34: warning: 'firstSwitch' may be used uninitialized [-Wmaybe-uninitialized] 2549 | if (gotSwitch && firstSwitch == start) { | ~~~~~~~~~~~~^~~~~~~~ parseSd.cxx:2537:14: note: 'firstSwitch' was declared here 2537 | WideChar firstSwitch; | ^~~~~~~~~~~ parseSd.cxx: In member function 'OpenSP::Parser::sdParseFunction(OpenSP::SdBuilder&, OpenSP::SdParam&)': parseSd.cxx:1482:48: warning: 'nameMarkupIndex' may be used uninitialized [-Wmaybe-uninitialized] 1482 | currentMarkup()->changeToSdReservedName(nameMarkupIndex, Sd::rNAMING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:1449:12: note: 'nameMarkupIndex' was declared here 1449 | size_t nameMarkupIndex; | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseDecl.lo parseDecl.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c parseDecl.cxx -fPIC -DPIC -o .libs/parseDecl.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseDecl.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ parseDecl.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::parseAttlistDecl()': parseDecl.cxx:1068:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1068 | if (index != -1 && adl->def(j)->isId()) | ~~~~~~^~~~~ parseDecl.cxx:1072:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1072 | if (index != -1 && adl->def(j)->isNotation()) | ~~~~~~^~~~~ parseDecl.cxx: In member function 'void OpenSP::Parser::addIdLinkRule(const OpenSP::StringC&, OpenSP::IdLinkRule&)': parseDecl.cxx:3229:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3229 | || nRules >= 1 && rule.attributes().nSpec() == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseDecl.cxx: In member function 'void OpenSP::Parser::addLinkRule(OpenSP::LinkSet*, const OpenSP::ElementType*, const OpenSP::ConstPtr&)': parseDecl.cxx:3242:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3242 | || nRules >= 1 && linkRule->attributes().nSpec() == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ElementType*; size_t = long unsigned int]': parseDecl.cxx:567:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = const OpenSP::ElementType*; size_t = long unsigned int]': parseDecl.cxx:731:50: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::CopyOwner; size_t = long unsigned int]': parseDecl.cxx:1052:56: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ConstPtr; size_t = long unsigned int]': parseDecl.cxx:1094:54: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::String; size_t = long unsigned int]': parseDecl.cxx:1329:56: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ConstPtr; size_t = long unsigned int]': parseDecl.cxx:2424:50: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = bool; size_t = long unsigned int]': parseDecl.cxx:2615:21: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::NameToken]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::NameToken]' Param.h:33:11: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::NameToken' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Param.h:16, from parseDecl.cxx:8: NameToken.h:14:8: note: 'struct OpenSP::NameToken' declared here 14 | struct NameToken { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' parseDecl.cxx:176:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ContentModelAmbiguity]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ContentModelAmbiguity]' parseDecl.cxx:691:37: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::ContentModelAmbiguity'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here 69 | struct SP_API ContentModelAmbiguity { | ^~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' parseDecl.cxx:909:43: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:15: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' parseDecl.cxx:1094:54: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ parseDecl.cxx: In member function 'OpenSP::Parser::parseMarkedSectionDeclStart()': parseDecl.cxx:3514:7: warning: 'discardMarkup' may be used uninitialized [-Wmaybe-uninitialized] 3514 | if (discardMarkup) | ^~ parseDecl.cxx:3424:11: note: 'discardMarkup' was declared here 3424 | Boolean discardMarkup; | ^~~~~~~~~~~~~ In file included from ../include/Attribute.h:11: In member function 'OpenSP::Resource::count() const', inlined from 'OpenSP::Parser::parseAttlistDecl()' at parseDecl.cxx:1051:19: ../include/Resource.h:37:10: warning: pointer used after 'operator delete(void*, unsigned long)' [-Wuse-after-free] 37 | return count_; | ^~~~~~ In file included from ../include/Ptr.h:91: In member function 'OpenSP::Ptr::~Ptr()', inlined from 'OpenSP::Parser::parseAttlistDecl()' at parseDecl.cxx:1048:40: ../include/Ptr.cxx:23:7: note: call to 'operator delete(void*, unsigned long)' here 23 | delete ptr_; | ^~~~~~~~~~~ parseDecl.cxx: In member function 'OpenSP::Parser::parseDoctypeDeclStart()': parseDecl.cxx:2234:47: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 2234 | Entity::doctype); | ^ parseDecl.cxx:2147:24: note: 'data' was declared here 2147 | EntityDecl::DataType data; | ^~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserMessages.lo ParserMessages.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ParserMessages.cxx -fPIC -DPIC -o .libs/ParserMessages.o make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' In file included from ../include/Location.h:12, from ../include/Message.h:12, from ParserMessages.h:8, from ParserMessages.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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-OpenCloudOS-linux/12/../../../../lib64/crti.o /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/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-OpenCloudOS-linux/12 -L/usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/crtendS.o /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -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' TrieBuilder.cxx: In member function 'operator=': TrieBuilder.cxx:52:29: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 52 | next_ = new Trie[nCodes_]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ TrieBuilder.cxx: In member function '__ct_base ': TrieBuilder.cxx:34:29: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 34 | next_ = new Trie[nCodes_]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ TrieBuilder.cxx: In member function 'forceNext': TrieBuilder.cxx:225:35: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 225 | trie->next_ = new Trie[nCodes_]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ Making all in 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o nsgmls_inst.o nsgmls_inst.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o StringSet.o StringSet.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' 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:16: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o nsgmls.o nsgmls.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/LinkProcess.h:11, from SgmlsEventHandler.h:17, 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] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from nsgmls.cxx:16: nsgmls.h: In constructor 'NsgmlsApp::NsgmlsApp()': nsgmls.h:37:11: warning: 'NsgmlsApp::batchMode_' will be initialized after [-Wreorder] 37 | Boolean batchMode_; | ^~~~~~~~~~ nsgmls.h:33:11: warning: 'OpenSP::Boolean NsgmlsApp::prologOnly_' [-Wreorder] 33 | Boolean prologOnly_; | ^~~~~~~~~~~ nsgmls.cxx:78:1: warning: when initialized here [-Wreorder] 78 | NsgmlsApp::NsgmlsApp() | ^~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:14, from ../include/Notation.h:15: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/LinkProcess.h:32:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Vector]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Vector]' 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] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:19:7: note: 'class OpenSP::Vector' declared here 19 | class Vector { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' ../include/Event.h:458:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o RastEventHandler.o RastEventHandler.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/LinkProcess.h:11, from RastEventHandler.h:18: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ RastEventHandler.h: In constructor 'OpenSP::RastEventHandler::RastEventHandler(OpenSP::SgmlParser*, OpenSP::Messenger*)': RastEventHandler.h:147:12: warning: 'OpenSP::RastEventHandler::piErrorCount_' will be initialized after [-Wreorder] 147 | unsigned piErrorCount_; | ^~~~~~~~~~~~~ RastEventHandler.cxx:129:11: warning: base 'OpenSP::RastSubdocState' [-Wreorder] 129 | mgr_(mgr) | ^ RastEventHandler.cxx:124:1: warning: when initialized here [-Wreorder] 124 | RastEventHandler::RastEventHandler(SgmlParser *parser, Messenger *mgr) | ^~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = long unsigned int; size_t = long unsigned int]': RastEventHandler.cxx:272:29: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/LinkProcess.h:32:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Vector]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Vector]' 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] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:19:7: note: 'class OpenSP::Vector' declared here 19 | class Vector { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' ../include/Event.h:458:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SgmlsEventHandler.o SgmlsEventHandler.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/LinkProcess.h:11, from SgmlsEventHandler.h:17: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ SgmlsEventHandler.h: In constructor 'OpenSP::SgmlsEventHandler::SgmlsEventHandler(const OpenSP::SgmlParser*, OpenSP::OutputCharStream*, OpenSP::Messenger*, unsigned int)': SgmlsEventHandler.h:119:21: warning: 'OpenSP::SgmlsEventHandler::os_' will be initialized after [-Wreorder] 119 | OutputCharStream *os_; | ^~~ SgmlsEventHandler.h:117:14: warning: 'OpenSP::Messenger* OpenSP::SgmlsEventHandler::messenger_' [-Wreorder] 117 | Messenger *messenger_; | ^~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] 90 | SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, | ^~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:131:17: warning: 'OpenSP::SgmlsEventHandler::outputNotationSysid_' will be initialized after [-Wreorder] 131 | PackedBoolean outputNotationSysid_; | ^~~~~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:128:17: warning: 'OpenSP::PackedBoolean OpenSP::SgmlsEventHandler::outputIncluded_' [-Wreorder] 128 | PackedBoolean outputIncluded_; | ^~~~~~~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] 90 | SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, | ^~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:138:17: warning: 'OpenSP::SgmlsEventHandler::outputParserInformation_' will be initialized after [-Wreorder] 138 | PackedBoolean outputParserInformation_; | ^~~~~~~~~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:121:11: warning: 'OpenSP::Boolean OpenSP::SgmlsEventHandler::haveData_' [-Wreorder] 121 | Boolean haveData_; | ^~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] 90 | SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, | ^~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:124:28: warning: 'OpenSP::SgmlsEventHandler::lastSos_' will be initialized after [-Wreorder] 124 | const StorageObjectSpec *lastSos_; | ^~~~~~~~ SgmlsEventHandler.h:120:11: warning: 'OpenSP::Boolean OpenSP::SgmlsEventHandler::inDocument_' [-Wreorder] 120 | Boolean inDocument_; | ^~~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] 90 | SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, | ^~~~~~~~~~~~~~~~~ SgmlsEventHandler.h: In constructor 'OpenSP::SgmlsSubdocState::SgmlsSubdocState()': SgmlsEventHandler.h:38:11: warning: 'OpenSP::SgmlsSubdocState::haveLinkProcess_' will be initialized after [-Wreorder] 38 | Boolean haveLinkProcess_; | ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h:35:21: warning: 'const OpenSP::SgmlParser* OpenSP::SgmlsSubdocState::parser_' [-Wreorder] 35 | const SgmlParser *parser_; | ^~~~~~~ SgmlsEventHandler.cxx:701:1: warning: when initialized here [-Wreorder] 701 | SgmlsSubdocState::SgmlsSubdocState() | ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h: In constructor 'OpenSP::SgmlsSubdocState::SgmlsSubdocState(const OpenSP::SgmlParser*)': SgmlsEventHandler.h:38:11: warning: 'OpenSP::SgmlsSubdocState::haveLinkProcess_' will be initialized after [-Wreorder] 38 | Boolean haveLinkProcess_; | ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h:35:21: warning: 'const OpenSP::SgmlParser* OpenSP::SgmlsSubdocState::parser_' [-Wreorder] 35 | const SgmlParser *parser_; | ^~~~~~~ SgmlsEventHandler.cxx:706:1: warning: when initialized here [-Wreorder] 706 | SgmlsSubdocState::SgmlsSubdocState(const SgmlParser *parser) | ^~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/LinkProcess.h:32:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' ../include/Event.h:458:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/nsgmls' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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' Making all in 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o spent.o spent.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ spent.cxx: In constructor 'SpentApp::SpentApp()': spent.cxx:23:11: warning: 'SpentApp::rawOutput_' will be initialized after [-Wreorder] 23 | Boolean rawOutput_; | ^~~~~~~~~~ spent.cxx:22:11: warning: 'OpenSP::Boolean SpentApp::isNdata_' [-Wreorder] 22 | Boolean isNdata_; | ^~~~~~~~ spent.cxx:28:1: warning: when initialized here [-Wreorder] 28 | SpentApp::SpentApp() | ^~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spent' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ospent spent.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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' Making all in 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o spam_inst.o spam_inst.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o MarkupEventHandler.o MarkupEventHandler.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../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] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o spam.o spam.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from spam.cxx:8: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ spam.cxx: In constructor 'SpamApp::SpamApp()': spam.cxx:64:11: warning: 'SpamApp::rawOutput_' will be initialized after [-Wreorder] 64 | Boolean rawOutput_; | ^~~~~~~~~~ spam.cxx:62:12: warning: 'unsigned int SpamApp::normalizeFlags_' [-Wreorder] 62 | unsigned normalizeFlags_; | ^~~~~~~~~~~~~~~ spam.cxx:69:1: warning: when initialized here [-Wreorder] 69 | SpamApp::SpamApp() | ^~~~~~~ spam.cxx: In constructor 'XCopyEventHandler::XCopyEventHandler(OpenSP::OutputCharStream*, unsigned int, const OpenSP::StringC&, OpenSP::Messenger*)': spam.cxx:33:21: warning: 'XCopyEventHandler::os_' will be initialized after [-Wreorder] 33 | OutputCharStream *os_; | ^~~ spam.cxx:155:52: warning: base 'OpenSP::CopyEventHandler' [-Wreorder] 155 | CopyEventHandler(os, normalizeFlags, outputEntity) | ^ spam.cxx:150:1: warning: when initialized here [-Wreorder] 150 | XCopyEventHandler::XCopyEventHandler(OutputCharStream *os, | ^~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:14, from ../include/Notation.h:15: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o CopyEventHandler.o CopyEventHandler.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ CopyEventHandler.h: In constructor 'OpenSP::CopyEventHandler::CopyEventHandler(OpenSP::OutputCharStream*, unsigned int, const OpenSP::StringC&)': CopyEventHandler.h:124:24: warning: 'OpenSP::CopyEventHandler::currentAttributes_' will be initialized after [-Wreorder] 124 | const AttributeList *currentAttributes_; | ^~~~~~~~~~~~~~~~~~ CopyEventHandler.h:123:11: warning: 'OpenSP::Boolean OpenSP::CopyEventHandler::emptyElementNormal_' [-Wreorder] 123 | Boolean emptyElementNormal_; | ^~~~~~~~~~~~~~~~~~~ CopyEventHandler.cxx:75:1: warning: when initialized here [-Wreorder] 75 | CopyEventHandler::CopyEventHandler(OutputCharStream *os, | ^~~~~~~~~~~~~~~~ CopyEventHandler.cxx: In member function 'virtual void OpenSP::CopyEventHandler::startElement(OpenSP::StartElementEvent*)': CopyEventHandler.cxx:320:40: warning: enum constant in boolean context [-Wint-in-bool-context] 320 | if (!closed && (normalizeFlags_ && normalizeUnclosed)) { | ^~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]': ../include/Markup.h:41:14: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::CopyEventHandlerEntityInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::CopyEventHandlerEntityInfo]' 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] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CopyEventHandler.h:23:8: note: 'struct OpenSP::CopyEventHandlerEntityInfo' declared here 23 | struct CopyEventHandlerEntityInfo { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]' ../include/Markup.h:41:14: required from here ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' ../include/Event.h:458:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spam' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ospam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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' Making all in 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o SGMLGenerator.o SGMLGenerator.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' In file included from SGMLGenerator.cxx:9: SGMLGenerator.h: In constructor 'SGMLGenerator::SGMLGenerator(OpenSP::OutputCharStream*, unsigned int)': SGMLGenerator.h:68:7: warning: 'SGMLGenerator::parseMode_' will be initialized after [-Wreorder] 68 | } parseMode_; | ^~~~~~~~~~ SGMLGenerator.h:56:8: warning: 'char SGMLGenerator::outputState_' [-Wreorder] 56 | char outputState_; | ^~~~~~~~~~~~ SGMLGenerator.cxx:74:1: warning: when initialized here [-Wreorder] 74 | SGMLGenerator::SGMLGenerator(SP_NAMESPACE_SCOPE OutputCharStream *os, | ^~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o sgmlnorm.o sgmlnorm.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ sgmlnorm.cxx: In constructor 'SgmlnormApp::SgmlnormApp()': sgmlnorm.cxx:30:11: warning: 'SgmlnormApp::rawOutput_' will be initialized after [-Wreorder] 30 | Boolean rawOutput_; | ^~~~~~~~~~ sgmlnorm.cxx:29:12: warning: 'unsigned int SgmlnormApp::genFlags_' [-Wreorder] 29 | unsigned genFlags_; | ^~~~~~~~~ sgmlnorm.cxx:35:1: warning: when initialized here [-Wreorder] 35 | SgmlnormApp::SgmlnormApp() | ^~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from ../include/ParserApp.h:13: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sgmlnorm' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o osgmlnorm sgmlnorm.o SGMLGenerator.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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' Making all in 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o sx_inst.o sx_inst.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o sx.o sx.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from 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] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/OutputCharStream.h:10, from sx.cxx:6: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OutputCharStream.h:11: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from ../include/ParserApp.h:13: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o XmlOutputEventHandler.o XmlOutputEventHandler.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from XmlOutputEventHandler.cxx:10: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.h:17, from XmlOutputEventHandler.cxx:11: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ XmlOutputEventHandler.h: In constructor 'OpenSP::XmlOutputEventHandler::XmlOutputEventHandler(const Options&, OpenSP::OutputCharStream*, const OpenSP::StringC&, const char*, const char*, const OpenSP::Ptr&, const OpenSP::CharsetInfo&, OpenSP::CmdLineApp*)': XmlOutputEventHandler.h:118:11: warning: 'OpenSP::XmlOutputEventHandler::options_' will be initialized after [-Wreorder] 118 | Options options_; | ^~~~~~~~ XmlOutputEventHandler.h:107:21: warning: 'OpenSP::OutputCharStream* OpenSP::XmlOutputEventHandler::os_' [-Wreorder] 107 | OutputCharStream *os_; | ^~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:107:21: warning: 'OpenSP::XmlOutputEventHandler::os_' will be initialized after [-Wreorder] 107 | OutputCharStream *os_; | ^~~ XmlOutputEventHandler.h:101:28: warning: 'OpenSP::Ptr OpenSP::XmlOutputEventHandler::entityManager_' [-Wreorder] 101 | Ptr entityManager_; | ^~~~~~~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:106:22: warning: 'OpenSP::XmlOutputEventHandler::systemCharset_' will be initialized after [-Wreorder] 106 | const CharsetInfo *systemCharset_; | ^~~~~~~~~~~~~~ XmlOutputEventHandler.h:100:15: warning: 'OpenSP::CmdLineApp* OpenSP::XmlOutputEventHandler::app_' [-Wreorder] 100 | CmdLineApp *app_; | ^~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:116:11: warning: 'OpenSP::XmlOutputEventHandler::inCdata_' will be initialized after [-Wreorder] 116 | Boolean inCdata_; | ^~~~~~~~ XmlOutputEventHandler.h:115:11: warning: 'OpenSP::Boolean OpenSP::XmlOutputEventHandler::useCdata_' [-Wreorder] 115 | Boolean useCdata_; | ^~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:119:11: warning: 'OpenSP::XmlOutputEventHandler::namecaseGeneral_' will be initialized after [-Wreorder] 119 | Boolean namecaseGeneral_; | ^~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:110:25: warning: 'OpenSP::FileOutputByteStream* OpenSP::XmlOutputEventHandler::extEntFile_' [-Wreorder] 110 | FileOutputByteStream *extEntFile_; | ^~~~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:111:25: warning: 'OpenSP::XmlOutputEventHandler::intEntFile_' will be initialized after [-Wreorder] 111 | FileOutputByteStream *intEntFile_; | ^~~~~~~~~~~ XmlOutputEventHandler.h:108:21: warning: 'OpenSP::OutputCharStream* OpenSP::XmlOutputEventHandler::extEnts_' [-Wreorder] 108 | OutputCharStream *extEnts_; | ^~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/EntityManager.h:12: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' ../include/ContentToken.h:123:32: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16, from ../include/ExtendEntityManager.h:18: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' ../include/ContentToken.h:187:13: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' ../include/ShortReferenceMap.h:26:31: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' ../include/Event.h:458:7: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::StorageObjectSpec]' ../include/ExtendEntityManager.h:59:15: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ParsedSystemId::Map]' ../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] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ XmlOutputEventHandler.cxx: In member function 'virtual void OpenSP::XmlOutputEventHandler::inputOpened(OpenSP::InputSource*)': XmlOutputEventHandler.cxx:1206:19: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1206 | realpath((const char *)dirname(dirs), realDirs); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.cxx:1207:19: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1207 | realpath((const char *)dirname(outputDir), realOutputDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.cxx: In member function 'OpenSP::XmlOutputEventHandler::uniqueFilename(char*)': XmlOutputEventHandler.cxx:1538:24: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1538 | sprintf(numStr, "%d", num); | ^ In file included from /usr/include/stdio.h:894, from XmlOutputEventHandler.cxx:24: In function 'sprintf', inlined from 'OpenSP::XmlOutputEventHandler::uniqueFilename(char*)' at XmlOutputEventHandler.cxx:1538:12: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 2 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/sx' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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' Making all in 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o spcat_inst.o spcat_inst.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o spcat.o spcat.cxx make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' 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] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from spcat.cxx:7: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ spcat.cxx: In member function 'virtual void SpcatApp::processOption(OpenSP::CmdLineApp::AppChar, const OpenSP::CmdLineApp::AppChar*)': spcat.cxx:146:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 146 | for (int i = 0; i < ret.size(); i++) | ~~^~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' ../include/Attribute.h:486:27: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' ../include/CharsetDecl.h:53:25: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' ../include/Markup.h:125:16: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' ../include/CmdLineApp.h:36:14: required from here ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/spcat' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ospcat spcat.o spcat_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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' Making all in tests make[2]: Nothing to be done for 'all'. Making all in docsrc make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man ospent.xml make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' 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 make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man ospcat.xml make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' 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 make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man osgmlnorm.xml make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' 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 osgmlnorm.1 make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man ospam.xml make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' 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 ospam.1 make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man osx.xml make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' 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 osx.1 make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man onsgmls.xml make[2]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/docsrc' make all-am 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 onsgmls.1 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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.V9Wida + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64 + cd OpenSP-1.5.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64 'INSTALL=/usr/bin/install -p' 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-3.oc9.aarch64/usr/share/OpenSP" /usr/bin/install -p -m 644 'HTML32.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTML32.dcl' /usr/bin/install -p -m 644 'HTML32.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTML32.dtd' /usr/bin/install -p -m 644 'HTML32.soc' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTML32.soc' /usr/bin/install -p -m 644 'HTML4-f.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTML4-f.dtd' /usr/bin/install -p -m 644 'HTML4-s.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTML4-s.dtd' /usr/bin/install -p -m 644 'HTML4.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTML4.dcl' /usr/bin/install -p -m 644 'HTML4.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTML4.dtd' /usr/bin/install -p -m 644 'HTML4.soc' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTML4.soc' /usr/bin/install -p -m 644 'HTMLlat1.ent' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTMLlat1.ent' /usr/bin/install -p -m 644 'HTMLspec.ent' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTMLspec.ent' /usr/bin/install -p -m 644 'HTMLsym.ent' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/HTMLsym.ent' /usr/bin/install -p -m 644 'ISOlat1.ent' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/ISOlat1.ent' /usr/bin/install -p -m 644 'ISOlat1.sgm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/ISOlat1.sgm' /usr/bin/install -p -m 644 'html-1.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/html-1.dtd' /usr/bin/install -p -m 644 'html-1s.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/html-1s.dtd' /usr/bin/install -p -m 644 'html-s.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/html-s.dtd' /usr/bin/install -p -m 644 'html.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/html.dcl' /usr/bin/install -p -m 644 'html.dtd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/html.dtd' /usr/bin/install -p -m 644 'html.soc' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/html.soc' /usr/bin/install -p -m 644 'xml.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/xml.dcl' /usr/bin/install -p -m 644 'xml.soc' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/xml.soc' /usr/bin/install -p -m 644 'japan.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/japan.dcl' /usr/bin/install -p -m 644 'opensp-implied.dcl' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/share/OpenSP" /usr/bin/install -p -m 644 'catalog' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/catalog' /usr/bin/install -p -m 644 'demo.sgm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/demo.sgm' /usr/bin/install -p -m 644 'gensyntax.pl' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/gensyntax.pl' /usr/bin/install -p -m 644 'unicode.sd' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP/unicode.sd' /usr/bin/install -p -m 644 'unicode.syn' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/share/doc/OpenSP/doc" /usr/bin/install -p -m 644 'archform.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/archform.htm' /usr/bin/install -p -m 644 'build.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/build.htm' /usr/bin/install -p -m 644 'catalog.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/catalog.htm' /usr/bin/install -p -m 644 'charset.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/charset.htm' /usr/bin/install -p -m 644 'features.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/features.htm' /usr/bin/install -p -m 644 'generic.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/generic.htm' /usr/bin/install -p -m 644 'ideas.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/ideas.htm' /usr/bin/install -p -m 644 'index.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/index.htm' /usr/bin/install -p -m 644 'new.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/new.htm' /usr/bin/install -p -m 644 'nsgmls.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/nsgmls.htm' /usr/bin/install -p -m 644 'sgmldecl.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/sgmldecl.htm' /usr/bin/install -p -m 644 'sgmlnorm.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/sgmlnorm.htm' /usr/bin/install -p -m 644 'sgmlsout.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/sgmlsout.htm' /usr/bin/install -p -m 644 'spam.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/spam.htm' /usr/bin/install -p -m 644 'spcat.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/spcat.htm' /usr/bin/install -p -m 644 'spent.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/spent.htm' /usr/bin/install -p -m 644 'sx.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/sx.htm' /usr/bin/install -p -m 644 'sysdecl.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/sysdecl.htm' /usr/bin/install -p -m 644 'sysid.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/sysid.htm' /usr/bin/install -p -m 644 'xml.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/xml.htm' /usr/bin/install -p -m 644 'xmlwarn.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/doc/xmlwarn.htm' /usr/bin/install -p -m 644 'autoconf.htm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/include/OpenSP" /usr/bin/install -p -m 644 'Allocator.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Allocator.h' /usr/bin/install -p -m 644 'ArcEngine.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ArcEngine.h' /usr/bin/install -p -m 644 'Attribute.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Attribute.h' /usr/bin/install -p -m 644 'Attributed.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Attributed.h' /usr/bin/install -p -m 644 'Big5CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Big5CodingSystem.h' /usr/bin/install -p -m 644 'Boolean.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Boolean.h' /usr/bin/install -p -m 644 'CharMap.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CharMap.cxx' /usr/bin/install -p -m 644 'CharMap.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CharMap.h' /usr/bin/install -p -m 644 'CharsetDecl.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CharsetDecl.h' /usr/bin/install -p -m 644 'CharsetInfo.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CharsetInfo.h' /usr/bin/install -p -m 644 'CharsetRegistry.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CharsetRegistry.h' /usr/bin/install -p -m 644 'CmdLineApp.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CmdLineApp.h' /usr/bin/install -p -m 644 'CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CodingSystem.h' /usr/bin/install -p -m 644 'CodingSystemKit.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CodingSystemKit.h' /usr/bin/install -p -m 644 'ConsoleOutput.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ConsoleOutput.h' /usr/bin/install -p -m 644 'ContentState.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ContentState.h' /usr/bin/install -p -m 644 'ContentToken.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ContentToken.h' /usr/bin/install -p -m 644 'CopyOwner.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CopyOwner.cxx' /usr/bin/install -p -m 644 'CopyOwner.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/CopyOwner.h' /usr/bin/install -p -m 644 'DescriptorManager.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/DescriptorManager.h' /usr/bin/install -p -m 644 'Dtd.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Dtd.h' /usr/bin/install -p -m 644 'EUCJPCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/EUCJPCodingSystem.h' /usr/bin/install -p -m 644 'ElementType.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ElementType.h' /usr/bin/install -p -m 644 'Entity.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Entity.h' /usr/bin/install -p -m 644 'EntityApp.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/EntityApp.h' /usr/bin/install -p -m 644 'EntityCatalog.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/EntityCatalog.h' /usr/bin/install -p -m 644 'EntityDecl.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/EntityDecl.h' /usr/bin/install -p -m 644 'EntityManager.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/EntityManager.h' /usr/bin/install -p -m 644 'ErrnoMessageArg.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ErrnoMessageArg.h' /usr/bin/install -p -m 644 'ErrorCountEventHandler.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ErrorCountEventHandler.h' /usr/bin/install -p -m 644 'Event.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Event.h' /usr/bin/install -p -m 644 'EventsWanted.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/EventsWanted.h' /usr/bin/install -p -m 644 'ExtendEntityManager.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ExtendEntityManager.h' /usr/bin/install -p -m 644 'ExternalId.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ExternalId.h' /usr/bin/install -p -m 644 'Fixed2CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Fixed2CodingSystem.h' /usr/bin/install -p -m 644 'GenericEventHandler.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/GenericEventHandler.h' /usr/bin/install -p -m 644 'Hash.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Hash.h' /usr/bin/install -p -m 644 'HashTable.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/HashTable.cxx' /usr/bin/install -p -m 644 'HashTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/HashTable.h' /usr/bin/install -p -m 644 'HashTableItemBase.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/HashTableItemBase.cxx' /usr/bin/install -p -m 644 'HashTableItemBase.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/HashTableItemBase.h' /usr/bin/install -p -m 644 'IList.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/IList.h' /usr/bin/install -p -m 644 'IListBase.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/IListBase.h' /usr/bin/install -p -m 644 'IListIter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/IListIter.h' /usr/bin/install -p -m 644 'IListIterBase.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/IListIterBase.h' /usr/bin/install -p -m 644 'IQueue.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/IQueue.cxx' /usr/bin/install -p -m 644 'IQueue.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/IQueue.h' /usr/bin/install -p -m 644 'ISet.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ISet.cxx' /usr/bin/install -p -m 644 'ISet.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ISet.h' /usr/bin/install -p -m 644 'ISetIter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ISetIter.h' /usr/bin/install -p -m 644 'IdentityCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/IdentityCodingSystem.h' /usr/bin/install -p -m 644 'InputSource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/InputSource.h' /usr/bin/install -p -m 644 'InternalInputSource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/InternalInputSource.h' /usr/bin/install -p -m 644 'Link.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Link.h' /usr/bin/install -p -m 644 'LinkProcess.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/LinkProcess.h' /usr/bin/install -p -m 644 'List.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/List.cxx' /usr/bin/install -p -m 644 'List.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/List.h' /usr/bin/install -p -m 644 'ListIter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ListIter.h' /usr/bin/install -p -m 644 'LiteralStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/LiteralStorage.h' /usr/bin/install -p -m 644 'Location.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Location.h' /usr/bin/install -p -m 644 'Lpd.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Lpd.h' /usr/bin/install -p -m 644 'Markup.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Markup.h' /usr/bin/install -p -m 644 'Message.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Message.h' /usr/bin/install -p -m 644 'MessageArg.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/MessageArg.h' /usr/bin/install -p -m 644 'MessageBuilder.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/MessageBuilder.h' /usr/bin/install -p -m 644 'MessageEventHandler.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/MessageEventHandler.h' /usr/bin/install -p -m 644 'MessageFormatter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/MessageFormatter.h' /usr/bin/install -p -m 644 'MessageModule.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/MessageModule.h' /usr/bin/install -p -m 644 'MessageReporter.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/MessageReporter.h' /usr/bin/install -p -m 644 'MessageTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/MessageTable.h' /usr/bin/install -p -m 644 'Mode.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Mode.h' /usr/bin/install -p -m 644 'NCVector.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/NCVector.h' /usr/bin/install -p -m 644 'Named.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Named.h' /usr/bin/install -p -m 644 'NamedResource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/NamedResource.h' /usr/bin/install -p -m 644 'NamedResourceTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/NamedResourceTable.h' /usr/bin/install -p -m 644 'NamedTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/NamedTable.h' /usr/bin/install -p -m 644 'Notation.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Notation.h' /usr/bin/install -p -m 644 'NotationStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/NotationStorage.h' /usr/bin/install -p -m 644 'OpenElement.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/OpenElement.h' /usr/bin/install -p -m 644 'Options.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Options.cxx' /usr/bin/install -p -m 644 'Options.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Options.h' /usr/bin/install -p -m 644 'OutputByteStream.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/OutputByteStream.h' /usr/bin/install -p -m 644 'OutputCharStream.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/OutputCharStream.h' /usr/bin/install -p -m 644 'Owner.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Owner.cxx' /usr/bin/install -p -m 644 'Owner.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Owner.h' /usr/bin/install -p -m 644 'OwnerTable.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/OwnerTable.cxx' /usr/bin/install -p -m 644 'OwnerTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/OwnerTable.h' /usr/bin/install -p -m 644 'ParserApp.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ParserApp.h' /usr/bin/install -p -m 644 'ParserOptions.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ParserOptions.h' /usr/bin/install -p -m 644 'PointerTable.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/PointerTable.cxx' /usr/bin/install -p -m 644 'PointerTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/PointerTable.h' /usr/bin/install -p -m 644 'PosixStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/PosixStorage.h' /usr/bin/install -p -m 644 'Ptr.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Ptr.cxx' /usr/bin/install -p -m 644 'Ptr.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Ptr.h' /usr/bin/install -p -m 644 'RangeMap.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/RangeMap.cxx' /usr/bin/install -p -m 644 'RangeMap.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/RangeMap.h' /usr/bin/install -p -m 644 'Resource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Resource.h' /usr/bin/install -p -m 644 'RewindStorageObject.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/RewindStorageObject.h' /usr/bin/install -p -m 644 'SJISCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/SJISCodingSystem.h' /usr/bin/install -p -m 644 'SOEntityCatalog.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/SOEntityCatalog.h' /usr/bin/install -p -m 644 'Sd.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Sd.h' /usr/bin/install -p -m 644 'SdText.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/SdText.h' /usr/bin/install -p -m 644 'SearchResultMessageArg.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/SearchResultMessageArg.h' /usr/bin/install -p -m 644 'SgmlParser.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/SgmlParser.h' /usr/bin/install -p -m 644 'ShortReferenceMap.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ShortReferenceMap.h' /usr/bin/install -p -m 644 'StdioStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/StdioStorage.h' /usr/bin/install -p -m 644 'StorageManager.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/StorageManager.h' /usr/bin/install -p -m 644 'StringC.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/StringC.h' /usr/bin/install -p -m 644 'StringOf.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/StringOf.cxx' /usr/bin/install -p -m 644 'StringOf.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/StringOf.h' /usr/bin/install -p -m 644 'StringResource.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/StringResource.h' /usr/bin/install -p -m 644 'SubstTable.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/SubstTable.h' /usr/bin/install -p -m 644 'Syntax.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Syntax.h' /usr/bin/install -p -m 644 'Text.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Text.h' /usr/bin/install -p -m 644 'TranslateCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/TranslateCodingSystem.h' /usr/bin/install -p -m 644 'TypeId.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/TypeId.h' /usr/bin/install -p -m 644 'URLStorage.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/URLStorage.h' /usr/bin/install -p -m 644 'UTF8CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/UTF8CodingSystem.h' /usr/bin/install -p -m 644 'UnicodeCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/UnicodeCodingSystem.h' /usr/bin/install -p -m 644 'UnivCharsetDesc.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/UnivCharsetDesc.h' /usr/bin/install -p -m 644 'Vector.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Vector.cxx' /usr/bin/install -p -m 644 'Vector.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/Vector.h' /usr/bin/install -p -m 644 'XMLCodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/XMLCodingSystem.h' /usr/bin/install -p -m 644 'XcharMap.cxx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/XcharMap.cxx' /usr/bin/install -p -m 644 'XcharMap.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/XcharMap.h' /usr/bin/install -p -m 644 'constant.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/constant.h' /usr/bin/install -p -m 644 'macros.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/macros.h' /usr/bin/install -p -m 644 'rtti.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/rtti.h' /usr/bin/install -p -m 644 'sptchar.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/sptchar.h' /usr/bin/install -p -m 644 'types.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/types.h' /usr/bin/install -p -m 644 'xnew.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/xnew.h' /usr/bin/install -p -m 644 'UTF16CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/UTF16CodingSystem.h' /usr/bin/install -p -m 644 'Fixed4CodingSystem.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/include/OpenSP" /usr/bin/install -p -m 644 'ParserEventGeneratorKit.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/ParserEventGeneratorKit.h' /usr/bin/install -p -m 644 'EventGenerator.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP/EventGenerator.h' /usr/bin/install -p -m 644 'SGMLApplication.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/lib64 /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include; \ /usr/bin/install -p -m 644 libintl.h /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/libintl.h; \ /bin/sh ../libtool --mode=install \ /usr/bin/install -p -m 644 libintl.a /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/lib64/libintl.la | sed -e "s,^',," -e "s,'\$,,"`; \ if test -n "$dependencies"; then \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/lib64; \ /bin/sh ../libtool --mode=install \ /usr/bin/install -p -m 644 libgnuintl.a /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/libgnuintl.a; \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/preloadable_libintl.so; \ /usr/bin/install -p -m 644 /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/libgnuintl.so /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/preloadable_libintl.so; \ /bin/sh ../libtool --mode=uninstall \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/lib64; \ temp=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/t-charset.alias; \ dest=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/charset.alias; \ if test -f /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/charset.alias; then \ orig=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -p -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 -p -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale; \ test -f /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/locale.alias \ && orig=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/t-locale.alias; \ dest=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -p -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-3.oc9.aarch64/usr/share/gettext/intl; \ /usr/bin/install -p -m 644 VERSION /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/gettext/intl/VERSION; \ /usr/bin/install -p -m 644 ChangeLog.inst /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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 -p -m 644 ./$file \ /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/gettext/intl/$file; \ done; \ chmod a+x /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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 -p -m 644 $dir/$file \ /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.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-3.oc9.aarch64/usr/share mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/de/LC_MESSAGES installing de.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/de/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/fr/LC_MESSAGES installing fr.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/fr/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/ja/LC_MESSAGES installing ja.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/ja/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/sv/LC_MESSAGES installing sv.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/sv/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/locale/tr/LC_MESSAGES installing tr.gmo as /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.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 -p -m 644 ./$file \ /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -p 'libosp.la' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/libosp.la' /usr/bin/install -p .libs/libosp.so.5.0.0 /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/libosp.so.5.0.0 (cd /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/lib64 && rm -f libosp.so && ln -s libosp.so.5.0.0 libosp.so) /usr/bin/install -p .libs/libosp.lai /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -p 'onsgmls' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/onsgmls' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/onsgmls /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -p 'ospent' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospent' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/ospent /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -p 'ospam' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospam' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/ospam /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -p 'osgmlnorm' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/osgmlnorm' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/osgmlnorm /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -p 'osx' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/osx' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/osx /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -p 'ospcat' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospcat' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -p .libs/ospcat /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/share/man/man1" /usr/bin/install -p -m 644 './onsgmls.1' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/man/man1/onsgmls.1' /usr/bin/install -p -m 644 './osgmlnorm.1' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/man/man1/osgmlnorm.1' /usr/bin/install -p -m 644 './ospent.1' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/man/man1/ospent.1' /usr/bin/install -p -m 644 './ospam.1' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/man/man1/ospam.1' /usr/bin/install -p -m 644 './osx.1' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/man/man1/osx.1' /usr/bin/install -p -m 644 './ospcat.1' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/man/man1/ospcat.1' test -z "/usr/share/doc/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP" /usr/bin/install -p -m 644 'releasenotes.html' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/share/doc/OpenSP" /usr/bin/install -p -m 644 'README' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/README' /usr/bin/install -p -m 644 'ABOUT-NLS' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/ABOUT-NLS' /usr/bin/install -p -m 644 'NEWS' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/NEWS' /usr/bin/install -p -m 644 'COPYING' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/COPYING' /usr/bin/install -p -m 644 'AUTHORS' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/AUTHORS' /usr/bin/install -p -m 644 'BUGS' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/BUGS' /usr/bin/install -p -m 644 'ChangeLog' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP/ChangeLog' test -z "/usr/include/OpenSP" || mkdir -p -- "/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/include/OpenSP" /usr/bin/install -p -m 644 'config.h' '/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/lib64/libosp.la + for file in nsgmls sgmlnorm spam spent sx + ln -s onsgmls /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.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-3.oc9.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-3.oc9.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-3.oc9.aarch64/usr/bin/sx + echo '.so man1/osx.1' + mv /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/sx /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/sgml2xml + mv /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/man/man1/sx.1 /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/man/man1/sgml2xml.1 + rm -rf /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/OpenSP + rm -rf /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/OpenSP + chrpath --delete /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/nsgmls /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/onsgmls /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/osgmlnorm /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospam /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospcat /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospent /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/osx /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/sgml2xml /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/sgmlnorm /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/spam /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/spent + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64 sp5 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.5.2-3.oc9 --unique-debug-suffix -1.5.2-3.oc9.aarch64 --unique-debug-src-base opensp-1.5.2-3.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/OpenSP-1.5.2 extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospcat extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/onsgmls extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/osgmlnorm extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospam extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/osx extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/bin/ospent extracting debug info from /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/lib64/libosp.so.5.0.0 Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. 3622 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.e5EpO6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd OpenSP-1.5.2 + make check make check-recursive make[1]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2' 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' PASS: onsgmls-1 PASS: onsgmls-2 PASS: osnorm-1 PASS: af-1 PASS: af-2 PASS: af-3 PASS: af-4 PASS: af-5 PASS: af-6 PASS: af-12 PASS: af-13 PASS: af-14 PASS: af-15 PASS: af-16 PASS: af-18 PASS: af-19 /builddir/build/BUILD/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:E: error reading "./cat-2/" (Is a directory) 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 PASS: catalog-1 ==================== 6 of 23 tests failed ==================== make[3]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2/tests' make[2]: 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[1]: Leaving directory '/builddir/build/BUILD/OpenSP-1.5.2' make[1]: *** [Makefile:384: check-recursive] Error 1 make: *** [Makefile:658: check] Error 2 + : + RPM_EC=0 ++ jobs -p Processing files: opensp-1.5.2-3.oc9.aarch64 + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TwrZZ2 + umask 022 + cd /builddir/build/BUILD + cd OpenSP-1.5.2 + DOCDIR=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/share/doc/opensp + cp -pr AUTHORS /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/opensp + cp -pr BUGS /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/opensp + cp -pr ChangeLog /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/opensp + cp -pr NEWS /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/opensp + cp -pr README /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.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-3.oc9.aarch64/usr/share/doc/opensp + cp -pr docsrc/releasenotes.html /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/opensp + cp -pr pubtext/opensp-implied.dcl /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/doc/opensp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.k4CPcR + umask 022 + cd /builddir/build/BUILD + cd OpenSP-1.5.2 + LICENSEDIR=/builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/licenses/opensp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/licenses/opensp + cp -pr COPYING /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64/usr/share/licenses/opensp + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(gettext) = 0.14.5 libosp.so.5()(64bit) opensp = 1.5.2-3.oc9 opensp(aarch-64) = 1.5.2-3.oc9 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libosp.so.5()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: opensp-devel-1.5.2-3.oc9.aarch64 Provides: opensp-devel = 1.5.2-3.oc9 opensp-devel(aarch-64) = 1.5.2-3.oc9 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-3.oc9.aarch64 Provides: opensp-debugsource = 1.5.2-3.oc9 opensp-debugsource(aarch-64) = 1.5.2-3.oc9 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-3.oc9.aarch64 Provides: debuginfo(build-id) = 2423d3a26be8d5bd977e6f77acace693de210682 debuginfo(build-id) = 27b8bb79a906b67a856d560f17f52891a78e1666 debuginfo(build-id) = 42033f655db191e16cb36335eee3b6923d6f2cd9 debuginfo(build-id) = 99767cd6ee7d344f83c0cbe4445770598abbf3bf debuginfo(build-id) = b0932f180286ffc12e2033ac06c58e42cf5294a7 debuginfo(build-id) = f35282bccd80d08d23f505ed267580b758ea1f24 debuginfo(build-id) = f587699ad501592680e2aba5c727175dc406aa08 libosp.so.5.0.0-1.5.2-3.oc9.aarch64.debug()(64bit) opensp-debuginfo = 1.5.2-3.oc9 opensp-debuginfo(aarch-64) = 1.5.2-3.oc9 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-3.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opensp-1.5.2-3.oc9.aarch64 Wrote: /builddir/build/RPMS/opensp-devel-1.5.2-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/opensp-debugsource-1.5.2-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/opensp-1.5.2-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/opensp-debuginfo-1.5.2-3.oc9.aarch64.rpm Child return code was: 0