+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/oorexx.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rA1EXi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ooRexx-4.2.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ooRexx-4.2.0-source.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ooRexx-4.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + unzip -qo /builddir/build/SOURCES/ooRexx-4.2.0-pdf.zip + echo 'Patch #0 (oorexx-4.2.0-paths.patch):' Patch #0 (oorexx-4.2.0-paths.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .paths --fuzz=0 patching file Makefile.in + echo 'Patch #1 (oorexx-4.2.0-gcc6.patch):' Patch #1 (oorexx-4.2.0-gcc6.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc6 --fuzz=0 patching file interpreter/api/ThreadContextStubs.cpp patching file api/oorexxapi.h patching file interpreter/runtime/Interpreter.hpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.INZxz3 + umask 022 + cd /builddir/build/BUILD + cd ooRexx-4.2.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... 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 riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for bison... no checking for byacc... byacc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) 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... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes 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 checking how to run the C++ preprocessor... g++ -E 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 -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking filehdr.h usability... no checking filehdr.h presence... no checking for filehdr.h... no 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 mesg.h usability... no checking mesg.h presence... no checking for mesg.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for mesg.h... (cached) no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/ldr.h usability... no checking sys/ldr.h presence... no checking for sys/ldr.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking usersec.h usability... no checking usersec.h presence... no checking for usersec.h... no checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no checking for error_at_line... yes checking for vprintf... yes checking for _doprnt... no checking whether time.h and sys/time.h may both be included... yes checking for IDtouser... no checking for getuserattr... no checking for catopen... yes checking for fstat... yes checking for gcvt... yes checking for geteuid... yes checking for getpgrp... yes checking for getpwuid... yes checking for gettimeofday... yes checking for memset... yes checking for nsleep... no checking for setlocale... yes checking for strdup... yes checking for sighold... yes checking for sigprocmask... yes checking for nanosleep... yes checking for pthread_mutexattr_settype... no checking for pthread_mutexattr_settype in -lpthread... yes checking if union semun is incorrectly defined... no checking which values are valid for pthread_mutexattr_settype arg 2 are valid... found checking if FILE struct contains _cnt member... no checking if FILE struct contains _IO_read_ptr member... yes checking for rpmbuild... /usr/bin/rpmbuild checking for gencat... /usr/bin/gencat checking for Xalan... no checking for xalan... no configure: WARNING: cannot find xalan, Xalan ./configure: line 16596: svnversion: command not found configure: WARNING: setting Subversion Revision to 0 Subversion revision: 0 ooRexx major number: 4 ooRexx minor number: 2 ooRexx mod level number: 0 ooRexx current number: 4 ooRexx revision number: 6 ooRexx age number: 0 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating platform/unix/oorexx.spec config.status: creating platform/unix/debian/changelog config.status: creating platform/unix/debian/postinst config.status: creating rexxapi/server/platform/unix/rxapid config.status: creating samples/Makefile config.status: creating samples/native.api/Makefile config.status: creating samples/native.api/call.example/Makefile config.status: creating samples/unix/Makefile config.status: creating samples/unix/api/Makefile config.status: creating samples/unix/api/callrexx/Makefile config.status: creating samples/unix/api/wpipe1/Makefile config.status: creating samples/unix/api/wpipe2/Makefile config.status: creating samples/unix/api/wpipe3/Makefile config.status: creating xsl.sh config.status: creating platform/unix/oorexx-config config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i s,-O2,,g Makefile + make -j4 g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o rexximage-rexximage.o `test -f './utilities/rexximage/rexximage.cpp' || echo './'`./utilities/rexximage/rexximage.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ArrayClass.lo `test -f './interpreter/classes/ArrayClass.cpp' || echo './'`./interpreter/classes/ArrayClass.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-BufferClass.lo `test -f './interpreter/classes/BufferClass.cpp' || echo './'`./interpreter/classes/BufferClass.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ClassClass.lo `test -f './interpreter/classes/ClassClass.cpp' || echo './'`./interpreter/classes/ClassClass.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./utilities/rexximage/rexximage.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/ArrayClass.cpp -fPIC -DPIC -o .libs/librexx_la-ArrayClass.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/ClassClass.cpp -fPIC -DPIC -o .libs/librexx_la-ClassClass.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/BufferClass.cpp -fPIC -DPIC -o .libs/librexx_la-BufferClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/classes/ArrayClass.cpp:69: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./interpreter/classes/ClassClass.cpp:46: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/classes/BufferClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ContextClass.lo `test -f './interpreter/classes/ContextClass.cpp' || echo './'`./interpreter/classes/ContextClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/ContextClass.cpp -fPIC -DPIC -o .libs/librexx_la-ContextClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/ContextClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ClassClass.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/BufferClass.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ArrayClass.cpp:70: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ClassClass.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/BufferClass.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ArrayClass.cpp:70: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ClassClass.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/BufferClass.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ArrayClass.cpp:70: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/BufferClass.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/ClassClass.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/ArrayClass.cpp:70: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ContextClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ContextClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ContextClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/ContextClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/ArrayClass.cpp: In member function 'virtual void RexxArray::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxArray* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/ArrayClass.cpp:183:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->dimensions, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxArray* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/ArrayClass.cpp:184:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxArray* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/ArrayClass.cpp:185:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expansionArray, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxArray* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/ArrayClass.cpp:188:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objects[i], envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-DirectoryClass.lo `test -f './interpreter/classes/DirectoryClass.cpp' || echo './'`./interpreter/classes/DirectoryClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/DirectoryClass.cpp -fPIC -DPIC -o .libs/librexx_la-DirectoryClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/DirectoryClass.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/classes/ContextClass.cpp: In member function 'virtual void RexxContext::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:429:10: warning: unused variable 'newSelf' [-Wunused-variable] size_t newSelf = envelope->currentOffset; \ ^ ./interpreter/classes/ContextClass.cpp:125:3: note: in expansion of macro 'setUpFlatten' setUpFlatten(RexxContext) ^~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-IntegerClass.lo `test -f './interpreter/classes/IntegerClass.cpp' || echo './'`./interpreter/classes/IntegerClass.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ListClass.lo `test -f './interpreter/classes/ListClass.cpp' || echo './'`./interpreter/classes/ListClass.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MessageClass.lo `test -f './interpreter/classes/MessageClass.cpp' || echo './'`./interpreter/classes/MessageClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/IntegerClass.cpp -fPIC -DPIC -o .libs/librexx_la-IntegerClass.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/ListClass.cpp -fPIC -DPIC -o .libs/librexx_la-ListClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/IntegerClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/ListClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/MessageClass.cpp -fPIC -DPIC -o .libs/librexx_la-MessageClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/MessageClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/DirectoryClass.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/DirectoryClass.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/DirectoryClass.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/DirectoryClass.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ListClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ListClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ListClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/ListClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/DirectoryClass.cpp: In member function 'virtual void RexxDirectory::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxDirectory* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/DirectoryClass.cpp:92:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->contents, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxDirectory* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/DirectoryClass.cpp:93:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->method_table, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxDirectory* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/DirectoryClass.cpp:94:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->unknown_method, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxDirectory* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/DirectoryClass.cpp:95:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MessageClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MessageClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MessageClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/IntegerClass.cpp:48: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/MessageClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/IntegerClass.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/IntegerClass.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/IntegerClass.cpp:48: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/ListClass.cpp: In member function 'virtual void RexxList::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxList* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/ListClass.cpp:177:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->table, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxList* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/ListClass.cpp:178:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MethodClass.lo `test -f './interpreter/classes/MethodClass.cpp' || echo './'`./interpreter/classes/MethodClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/MethodClass.cpp -fPIC -DPIC -o .libs/librexx_la-MethodClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition ./interpreter/classes/IntegerClass.cpp: In member function 'virtual void RexxInteger::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInteger* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/IntegerClass.cpp:122:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInteger* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/IntegerClass.cpp:123:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->stringrep, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/classes/MessageClass.cpp: In member function 'virtual void RexxMessage::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:137:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->receiver, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:138:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->target, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:139:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->message, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:140:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->startscope, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:141:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->args, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:142:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->resultObject, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:143:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->interestedParties, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:144:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->condition, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:145:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->startActivity, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:146:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/classes/MethodClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MessageClass.cpp:147:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->waitingActivities, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MutableBufferClass.lo `test -f './interpreter/classes/MutableBufferClass.cpp' || echo './'`./interpreter/classes/MutableBufferClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/MutableBufferClass.cpp -fPIC -DPIC -o .libs/librexx_la-MutableBufferClass.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-NumberStringClass.lo `test -f './interpreter/classes/NumberStringClass.cpp' || echo './'`./interpreter/classes/NumberStringClass.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/MutableBufferClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-NumberStringMath.lo `test -f './interpreter/classes/NumberStringMath.cpp' || echo './'`./interpreter/classes/NumberStringMath.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/NumberStringClass.cpp -fPIC -DPIC -o .libs/librexx_la-NumberStringClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/NumberStringClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/NumberStringMath.cpp -fPIC -DPIC -o .libs/librexx_la-NumberStringMath.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/NumberStringMath.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MethodClass.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MethodClass.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MethodClass.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/MethodClass.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MutableBufferClass.cpp:48: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MutableBufferClass.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/MutableBufferClass.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/MutableBufferClass.cpp:48: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/MethodClass.cpp: In member function 'virtual void RexxMethod::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMethod* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MethodClass.cpp:302:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->scope, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMethod* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MethodClass.cpp:303:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->code, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMethod* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MethodClass.cpp:304:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->executableName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMethod* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MethodClass.cpp:305:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringMath.cpp:48: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringMath.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringMath.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/NumberStringMath.cpp:48: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringClass.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringClass.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringClass.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/NumberStringClass.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/MutableBufferClass.cpp: In member function 'virtual void RexxMutableBuffer::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMutableBuffer* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MutableBufferClass.cpp:212:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->data, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxMutableBuffer* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/MutableBufferClass.cpp:213:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/classes/MutableBufferClass.cpp: In member function 'RexxMutableBuffer* RexxMutableBuffer::space(RexxInteger*, RexxString*)': ./interpreter/classes/MutableBufferClass.cpp:1701:21: warning: declaration of '_word' shadows a previous local [-Wshadow] const char *_word = getStringData(); /*point to the start of string*/ ^~~~~ ./interpreter/classes/MutableBufferClass.cpp:1646:17: note: shadowed declaration is here const char *_word = getStringData(); /* point to the start of string */ ^~~~~ ./interpreter/classes/MutableBufferClass.cpp:1702:21: warning: declaration of 'nextSite' shadows a previous local [-Wshadow] const char *nextSite = NULL; /* start of the next word */ ^~~~~~~~ ./interpreter/classes/MutableBufferClass.cpp:1647:17: note: shadowed declaration is here const char *nextSite = NULL; /* start of the next word */ ^~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-NumberStringMath2.lo `test -f './interpreter/classes/NumberStringMath2.cpp' || echo './'`./interpreter/classes/NumberStringMath2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/NumberStringMath2.cpp -fPIC -DPIC -o .libs/librexx_la-NumberStringMath2.o ./interpreter/classes/NumberStringClass.cpp: In member function 'virtual void RexxNumberString::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxNumberString* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/NumberStringClass.cpp:164:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxNumberString* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/NumberStringClass.cpp:165:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->stringObject, envelope); ^~~~~~~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/NumberStringMath2.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ObjectClass.lo `test -f './interpreter/classes/ObjectClass.cpp' || echo './'`./interpreter/classes/ObjectClass.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-PackageClass.lo `test -f './interpreter/classes/PackageClass.cpp' || echo './'`./interpreter/classes/PackageClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/ObjectClass.cpp -fPIC -DPIC -o .libs/librexx_la-ObjectClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/ObjectClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/PackageClass.cpp -fPIC -DPIC -o .libs/librexx_la-PackageClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/PackageClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-PointerClass.lo `test -f './interpreter/classes/PointerClass.cpp' || echo './'`./interpreter/classes/PointerClass.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringMath2.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringMath2.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/PointerClass.cpp -fPIC -DPIC -o .libs/librexx_la-PointerClass.o In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/NumberStringMath2.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/NumberStringMath2.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/classes/PointerClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ObjectClass.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ObjectClass.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/ObjectClass.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/ObjectClass.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/PackageClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/PackageClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/PackageClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/PackageClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/NumberStringMath2.cpp: In member function 'RexxNumberString* RexxNumberString::Division(RexxNumberString*, unsigned int)': ./interpreter/classes/NumberStringMath2.cpp:339:37: warning: cast from 'char*' to 'RexxNumberStringBase*' increases required alignment of target type [-Wcast-align] Accum = (RexxNumberStringBase *)AccumBuffer; ^~~~~~~~~~~ ./interpreter/classes/NumberStringMath2.cpp:340:40: warning: cast from 'char*' to 'RexxNumberStringBase*' increases required alignment of target type [-Wcast-align] SaveLeft = (RexxNumberStringBase *)SaveLeftBuffer; ^~~~~~~~~~~~~~ ./interpreter/classes/NumberStringMath2.cpp:341:41: warning: cast from 'char*' to 'RexxNumberStringBase*' increases required alignment of target type [-Wcast-align] SaveRight = (RexxNumberStringBase *)SaveRightBuffer; ^~~~~~~~~~~~~~~ In file included from ./interpreter/classes/NumberStringClass.hpp:48:0, from ./interpreter/classes/StringClass.hpp:47, from ./interpreter/execution/RexxVariable.hpp:47, from ./interpreter/execution/RexxVariableDictionary.hpp:47, from ./interpreter/execution/RexxLocalVariables.hpp:48, from ./interpreter/concurrency/RexxActivity.hpp:52, from ./interpreter/runtime/RexxCore.h:242, from ./interpreter/classes/NumberStringMath2.cpp:49: ./interpreter/classes/NumberStringMath2.cpp: In member function 'RexxNumberString* RexxNumberString::power(RexxObject*)': ./interpreter/classes/NumberStringMath.hpp:75:51: warning: cast from 'char*' to 'RexxNumberStringBase*' increases required alignment of target type [-Wcast-align] #define buffer_alloc(s) (new_buffer(s)->getData()) ^ ./interpreter/classes/NumberStringMath2.cpp:753:44: note: in expansion of macro 'buffer_alloc' AccumObj = (RexxNumberStringBase *)buffer_alloc(sizeof(RexxNumberStringBase)); ^~~~~~~~~~~~ ./interpreter/classes/NumberStringMath2.cpp: In static member function 'static char* RexxNumberString::dividePower(char*, RexxNumberStringBase*, char*, size_t)': ./interpreter/classes/NumberStringMath2.cpp:966:36: warning: cast from 'char*' to 'RexxNumberStringBase*' increases required alignment of target type [-Wcast-align] left = (RexxNumberStringBase *)leftBuffer; ^~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-QueueClass.lo `test -f './interpreter/classes/QueueClass.cpp' || echo './'`./interpreter/classes/QueueClass.cpp ./interpreter/classes/ObjectClass.cpp: In member function 'virtual void RexxObject::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxObject* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/ObjectClass.cpp:101:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/classes/PackageClass.cpp: In member function 'virtual void PackageClass::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'PackageClass* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/PackageClass.cpp:112:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->source, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'PackageClass* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/PackageClass.cpp:113:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/QueueClass.cpp -fPIC -DPIC -o .libs/librexx_la-QueueClass.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/PointerClass.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/PointerClass.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/PointerClass.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/QueueClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/PointerClass.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RelationClass.lo `test -f './interpreter/classes/RelationClass.cpp' || echo './'`./interpreter/classes/RelationClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/RelationClass.cpp -fPIC -DPIC -o .libs/librexx_la-RelationClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/RelationClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RoutineClass.lo `test -f './interpreter/classes/RoutineClass.cpp' || echo './'`./interpreter/classes/RoutineClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/RoutineClass.cpp -fPIC -DPIC -o .libs/librexx_la-RoutineClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/classes/RoutineClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/QueueClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxQueueMethods.lo `test -f './interpreter/classes/RexxQueueMethods.cpp' || echo './'`./interpreter/classes/RexxQueueMethods.cpp In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/QueueClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/QueueClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/QueueClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/RexxQueueMethods.cpp -fPIC -DPIC -o .libs/librexx_la-RexxQueueMethods.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./interpreter/classes/RexxQueueMethods.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RelationClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RelationClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RelationClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/RelationClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StackClass.lo `test -f './interpreter/classes/StackClass.cpp' || echo './'`./interpreter/classes/StackClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StackClass.cpp -fPIC -DPIC -o .libs/librexx_la-StackClass.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RoutineClass.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RoutineClass.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RoutineClass.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/classes/StackClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/RoutineClass.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StemClass.lo `test -f './interpreter/classes/StemClass.cpp' || echo './'`./interpreter/classes/StemClass.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RexxQueueMethods.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RexxQueueMethods.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/RexxQueueMethods.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/RexxQueueMethods.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StemClass.cpp -fPIC -DPIC -o .libs/librexx_la-StemClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/StemClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/classes/RoutineClass.cpp: In member function 'virtual void RoutineClass::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RoutineClass* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/RoutineClass.cpp:213:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->code, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RoutineClass* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/RoutineClass.cpp:214:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->executableName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RoutineClass* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/RoutineClass.cpp:215:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/classes/RoutineClass.cpp: In static member function 'static RoutineClass* RoutineClass::restore(RexxString*, RexxBuffer*)': ./interpreter/classes/RoutineClass.cpp:767:52: warning: cast from type 'const char*' to type 'ProgramMetaData*' casts away qualifiers [-Wcast-qual] ProgramMetaData *metaData = (ProgramMetaData *)data; ^~~~ ./interpreter/classes/RoutineClass.cpp:767:52: warning: cast from 'const char*' to 'ProgramMetaData*' increases required alignment of target type [-Wcast-align] ./interpreter/classes/RoutineClass.cpp: In static member function 'static RoutineClass* RoutineClass::restore(RXSTRING*, RexxString*)': ./interpreter/classes/RoutineClass.cpp:811:52: warning: cast from type 'const char*' to type 'ProgramMetaData*' casts away qualifiers [-Wcast-qual] ProgramMetaData *metaData = (ProgramMetaData *)data; ^~~~ ./interpreter/classes/RoutineClass.cpp:811:52: warning: cast from 'const char*' to 'ProgramMetaData*' increases required alignment of target type [-Wcast-align] /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StringClass.lo `test -f './interpreter/classes/StringClass.cpp' || echo './'`./interpreter/classes/StringClass.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StackClass.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StackClass.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StackClass.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StackClass.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StringClass.cpp -fPIC -DPIC -o .libs/librexx_la-StringClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/StringClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StringClassBit.lo `test -f './interpreter/classes/StringClassBit.cpp' || echo './'`./interpreter/classes/StringClassBit.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StringClassBit.cpp -fPIC -DPIC -o .libs/librexx_la-StringClassBit.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition ./interpreter/classes/StackClass.cpp: In member function 'virtual void RexxStack::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxStack* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/StackClass.cpp:106:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->stack[i], envelope); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/StringClassBit.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StemClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StemClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StemClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StemClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StringClassConversion.lo `test -f './interpreter/classes/StringClassConversion.cpp' || echo './'`./interpreter/classes/StringClassConversion.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StringClassConversion.cpp -fPIC -DPIC -o .libs/librexx_la-StringClassConversion.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/StringClassConversion.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/classes/StemClass.cpp: In member function 'virtual void RexxStem::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxStem* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/StemClass.cpp:145:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->value, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxStem* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/StemClass.cpp:146:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->stemName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxStem* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/StemClass.cpp:147:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxStem* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundTable.hpp:62:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->tails.root, envelope); \ ^~~~~~~~~~~~~~~~~ ./interpreter/classes/StemClass.cpp:148:4: note: in expansion of macro 'flattenCompoundTable' flattenCompoundTable(); ^~~~~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxStem* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundTable.hpp:63:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->tails.parent, envelope); \ ^~~~~~~~~~~~~~~~~ ./interpreter/classes/StemClass.cpp:148:4: note: in expansion of macro 'flattenCompoundTable' flattenCompoundTable(); ^~~~~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClass.cpp:50: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClass.cpp:50: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClass.cpp:50: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StringClass.cpp:50: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassBit.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassBit.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassBit.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StringClassBit.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StringClassMisc.lo `test -f './interpreter/classes/StringClassMisc.cpp' || echo './'`./interpreter/classes/StringClassMisc.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StringClassMisc.cpp -fPIC -DPIC -o .libs/librexx_la-StringClassMisc.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/StringClassMisc.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/classes/StringClass.cpp: In member function 'HashCode RexxString::getObjectHashCode()': ./interpreter/classes/StringClass.cpp:123:41: warning: cast from type 'const char*' to type 'HashCode* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] h = *((HashCode *)getStringData()); ^ ./interpreter/classes/StringClass.cpp:123:41: warning: cast from 'const char*' to 'HashCode* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./interpreter/classes/StringClass.cpp:129:38: warning: cast from type 'const char*' to type 'short int*' casts away qualifiers [-Wcast-qual] h = *((short *)getStringData()); ^ ./interpreter/classes/StringClass.cpp:129:38: warning: cast from 'const char*' to 'short int*' increases required alignment of target type [-Wcast-align] In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StringClass.cpp:50: ./interpreter/classes/StringClass.cpp: In member function 'virtual void RexxString::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxString* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/StringClass.cpp:161:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->NumberString, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxString* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/StringClass.cpp:162:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassConversion.cpp:48: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassConversion.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassConversion.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StringClassConversion.cpp:48: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StringClassSub.lo `test -f './interpreter/classes/StringClassSub.cpp' || echo './'`./interpreter/classes/StringClassSub.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StringClassSub.cpp -fPIC -DPIC -o .libs/librexx_la-StringClassSub.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/StringClassSub.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StringClassUtil.lo `test -f './interpreter/classes/StringClassUtil.cpp' || echo './'`./interpreter/classes/StringClassUtil.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StringClassWord.lo `test -f './interpreter/classes/StringClassWord.cpp' || echo './'`./interpreter/classes/StringClassWord.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StringClassUtil.cpp -fPIC -DPIC -o .libs/librexx_la-StringClassUtil.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StringClassWord.cpp -fPIC -DPIC -o .libs/librexx_la-StringClassWord.o In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/classes/StringClassUtil.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/StringClassWord.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassMisc.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassMisc.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassMisc.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StringClassMisc.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassSub.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassSub.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassSub.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StringClassSub.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassUtil.cpp:48: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassUtil.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ ./interpreter/classes/StringClassSub.cpp: In member function 'RexxString* RexxString::strip(RexxString*, RexxString*)': ./interpreter/classes/StringClassSub.cpp:627:12: warning: declaration of 'length' shadows a member of 'RexxString' [-Wshadow] size_t length = this->getLength(); /* get the length */ ^~~~~~ In file included from ./interpreter/execution/RexxVariable.hpp:47:0, from ./interpreter/execution/RexxVariableDictionary.hpp:47, from ./interpreter/execution/RexxLocalVariables.hpp:48, from ./interpreter/concurrency/RexxActivity.hpp:52, from ./interpreter/runtime/RexxCore.h:242, from ./interpreter/classes/StringClassSub.cpp:49: ./interpreter/classes/StringClass.hpp:487:11: note: shadowed declaration is here size_t length; /* string length */ ^~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassUtil.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StringClassUtil.cpp:48: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SupplierClass.lo `test -f './interpreter/classes/SupplierClass.cpp' || echo './'`./interpreter/classes/SupplierClass.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassWord.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-TableClass.lo `test -f './interpreter/classes/TableClass.cpp' || echo './'`./interpreter/classes/TableClass.cpp In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassWord.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StringClassWord.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/SupplierClass.cpp -fPIC -DPIC -o .libs/librexx_la-SupplierClass.o In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StringClassWord.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/SupplierClass.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/TableClass.cpp -fPIC -DPIC -o .libs/librexx_la-TableClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/TableClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-IdentityTableClass.lo `test -f './interpreter/classes/IdentityTableClass.cpp' || echo './'`./interpreter/classes/IdentityTableClass.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/IdentityTableClass.cpp -fPIC -DPIC -o .libs/librexx_la-IdentityTableClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-WeakReferenceClass.lo `test -f './interpreter/classes/WeakReferenceClass.cpp' || echo './'`./interpreter/classes/WeakReferenceClass.cpp In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/IdentityTableClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/WeakReferenceClass.cpp -fPIC -DPIC -o .libs/librexx_la-WeakReferenceClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/WeakReferenceClass.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/SupplierClass.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/SupplierClass.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/SupplierClass.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/SupplierClass.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/TableClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/TableClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/TableClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/TableClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/SupplierClass.cpp: In member function 'virtual void RexxSupplier::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSupplier* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/SupplierClass.cpp:116:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->values, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSupplier* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/SupplierClass.cpp:117:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->indexes, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/IdentityTableClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/IdentityTableClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/IdentityTableClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/IdentityTableClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StackFrameClass.lo `test -f './interpreter/classes/StackFrameClass.cpp' || echo './'`./interpreter/classes/StackFrameClass.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/WeakReferenceClass.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/WeakReferenceClass.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/WeakReferenceClass.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ProgramMetaData.lo `test -f './interpreter/classes/support/ProgramMetaData.cpp' || echo './'`./interpreter/classes/support/ProgramMetaData.cpp In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/WeakReferenceClass.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/StackFrameClass.cpp -fPIC -DPIC -o .libs/librexx_la-StackFrameClass.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/StackFrameClass.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/ProgramMetaData.cpp -fPIC -DPIC -o .libs/librexx_la-ProgramMetaData.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/support/ProgramMetaData.cpp:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxCollection.lo `test -f './interpreter/classes/support/RexxCollection.cpp' || echo './'`./interpreter/classes/support/RexxCollection.cpp ./interpreter/classes/WeakReferenceClass.cpp: In member function 'virtual void WeakReference::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'WeakReference* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/WeakReferenceClass.cpp:135:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'WeakReference* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/WeakReferenceClass.cpp:136:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->referentObject, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/RexxCollection.cpp -fPIC -DPIC -o .libs/librexx_la-RexxCollection.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxCompoundElement.lo `test -f './interpreter/classes/support/RexxCompoundElement.cpp' || echo './'`./interpreter/classes/support/RexxCompoundElement.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/support/RexxCollection.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/RexxCompoundElement.cpp -fPIC -DPIC -o .libs/librexx_la-RexxCompoundElement.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/support/RexxCompoundElement.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StackFrameClass.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StackFrameClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/StackFrameClass.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/StackFrameClass.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/ProgramMetaData.cpp:40: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/ProgramMetaData.cpp:40: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/ProgramMetaData.cpp:40: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/ProgramMetaData.cpp:40: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/StackFrameClass.cpp: In member function 'virtual void StackFrameClass::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:429:10: warning: unused variable 'newSelf' [-Wunused-variable] size_t newSelf = envelope->currentOffset; \ ^ ./interpreter/classes/StackFrameClass.cpp:144:3: note: in expansion of macro 'setUpFlatten' setUpFlatten(StackFrameClass) ^~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCollection.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCollection.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCollection.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/RexxCollection.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxCompoundTable.lo `test -f './interpreter/classes/support/RexxCompoundTable.cpp' || echo './'`./interpreter/classes/support/RexxCompoundTable.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundElement.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundElement.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundElement.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/RexxCompoundTable.cpp -fPIC -DPIC -o .libs/librexx_la-RexxCompoundTable.o In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/RexxCompoundElement.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/support/RexxCompoundTable.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxCompoundTail.lo `test -f './interpreter/classes/support/RexxCompoundTail.cpp' || echo './'`./interpreter/classes/support/RexxCompoundTail.cpp ./interpreter/classes/support/RexxCollection.cpp: In member function 'virtual void RexxHashTableCollection::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxHashTableCollection* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCollection.cpp:77:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->contents, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxHashTableCollection* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCollection.cpp:78:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->objectVariables, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/RexxCompoundTail.cpp -fPIC -DPIC -o .libs/librexx_la-RexxCompoundTail.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxDateTime.lo `test -f './interpreter/classes/support/RexxDateTime.cpp' || echo './'`./interpreter/classes/support/RexxDateTime.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/classes/support/RexxCompoundTail.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/classes/support/RexxCompoundElement.cpp: In member function 'virtual void RexxCompoundElement::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundElement* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundElement.cpp:83:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variableValue, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundElement* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundElement.cpp:84:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variable_name, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundElement* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundElement.cpp:85:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->dependents, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundElement* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundElement.cpp:86:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->parent, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundElement* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundElement.cpp:87:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->left, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundElement* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundElement.cpp:88:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->right, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundElement* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxCompoundElement.cpp:89:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->real_element, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/RexxDateTime.cpp -fPIC -DPIC -o .libs/librexx_la-RexxDateTime.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/support/RexxDateTime.cpp:38: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxHashTable.lo `test -f './interpreter/classes/support/RexxHashTable.cpp' || echo './'`./interpreter/classes/support/RexxHashTable.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/RexxHashTable.cpp -fPIC -DPIC -o .libs/librexx_la-RexxHashTable.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/support/RexxHashTable.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundTable.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundTable.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundTable.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/RexxCompoundTable.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundTail.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundTail.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxCompoundTail.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/RexxCompoundTail.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxDateTime.cpp:38: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxDateTime.cpp:38: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxDateTime.cpp:38: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/RexxDateTime.cpp:38: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxListTable.lo `test -f './interpreter/classes/support/RexxListTable.cpp' || echo './'`./interpreter/classes/support/RexxListTable.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/RexxListTable.cpp -fPIC -DPIC -o .libs/librexx_la-RexxListTable.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxHashTable.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/classes/support/RexxListTable.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxHashTable.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxHashTable.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/RexxHashTable.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StringUtil.lo `test -f './interpreter/classes/support/StringUtil.cpp' || echo './'`./interpreter/classes/support/StringUtil.cpp ./interpreter/classes/support/RexxDateTime.cpp: In member function 'void RexxDateTime::formatBaseDate(char*)': ./interpreter/classes/support/RexxDateTime.cpp:1142:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'wholenumber_t {aka long int}' [-Wformat=] sprintf(buffer, "%d", getBaseDate()); ~~~~~~~~~~~~~^ ./interpreter/classes/support/RexxDateTime.cpp: In member function 'void RexxDateTime::formatCivilTime(char*)': ./interpreter/classes/support/RexxDateTime.cpp:1301:99: warning: format '%d' expects argument of type 'int', but argument 3 has type 'wholenumber_t {aka long int}' [-Wformat=] sprintf(buffer,"%d:%2.2d%s", adjustedHours, minutes, hours >= 12 ? POSTMERIDIAN : ANTEMERIDIAN); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/classes/support/StringUtil.cpp -fPIC -DPIC -o .libs/librexx_la-StringUtil.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/classes/support/StringUtil.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/classes/support/RexxHashTable.cpp: In static member function 'static RexxTable* RexxHashTable::newInstance(size_t, size_t, size_t)': ./interpreter/classes/support/RexxHashTable.cpp:134:65: warning: cast from 'char*' to 'RexxHashTable*' increases required alignment of target type [-Wcast-align] newHash = (RexxHashTable *)(((char *)newObj) + companionSize); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/RexxHashTable.cpp:44: ./interpreter/classes/support/RexxHashTable.cpp: In member function 'virtual void RexxHashTable::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxHashTable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxHashTable.cpp:207:13: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->entries[i].index, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxHashTable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxHashTable.cpp:208:13: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->entries[i].value, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-CallContextStubs.lo `test -f './interpreter/api/CallContextStubs.cpp' || echo './'`./interpreter/api/CallContextStubs.cpp ./interpreter/classes/support/RexxHashTable.cpp: In member function 'RexxArray* RexxHashTable::uniqueIndexes()': ./interpreter/classes/support/RexxHashTable.cpp:1759:12: warning: unused variable 'j' [-Wunused-variable] size_t j = 0; /* set the insertion point */ ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/api/CallContextStubs.cpp -fPIC -DPIC -o .libs/librexx_la-CallContextStubs.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/api/CallContextStubs.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxListTable.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxListTable.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/RexxListTable.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/RexxListTable.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-InterpreterAPI.lo `test -f './interpreter/api/InterpreterAPI.cpp' || echo './'`./interpreter/api/InterpreterAPI.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/api/InterpreterAPI.cpp -fPIC -DPIC -o .libs/librexx_la-InterpreterAPI.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/StringUtil.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./interpreter/api/InterpreterAPI.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/StringUtil.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/classes/support/StringUtil.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/classes/support/StringUtil.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/classes/support/RexxListTable.cpp: In member function 'virtual void RexxListTable::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxListTable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/classes/support/RexxListTable.cpp:81:8: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->elements[i - 1].value, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/classes/support/RexxListTable.cpp: In static member function 'static void* RexxListTable::operator new(size_t, size_t, size_t)': ./interpreter/classes/support/RexxListTable.cpp:113:82: warning: cast from 'char*' to 'RexxListTable*' increases required alignment of target type [-Wcast-align] RexxListTable *newTable = (RexxListTable *)(((char *)newList) + companionSize); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-InterpreterInstanceStubs.lo `test -f './interpreter/api/InterpreterInstanceStubs.cpp' || echo './'`./interpreter/api/InterpreterInstanceStubs.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/CallContextStubs.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/CallContextStubs.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/CallContextStubs.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/api/CallContextStubs.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/api/InterpreterInstanceStubs.cpp -fPIC -DPIC -o .libs/librexx_la-InterpreterInstanceStubs.o ./interpreter/classes/support/StringUtil.cpp: In static member function 'static RexxArray* StringUtil::subWords(const char*, size_t, RexxInteger*, RexxInteger*)': ./interpreter/classes/support/StringUtil.cpp:1584:17: warning: unused variable 'wordStart' [-Wunused-variable] const char *wordStart = word; /* save start position */ ^~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/api/InterpreterInstanceStubs.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/api/InterpreterAPI.cpp:248:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] char copy1[] = "\n\nCopyright (c) IBM Corporation 1995, 2004.\nCopyright (c) RexxLA "OOREXX_COPY_YEAR".\nAll Rights Reserved."; ^ ./interpreter/api/CallContextStubs.cpp: In function 'void SetContextVariable(RexxCallContext*, CSTRING, RexxObjectPtr)': ./interpreter/api/CallContextStubs.cpp:113:76: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.context->setContextVariable((const char *)n, (RexxObject *)v); ^ ./interpreter/api/CallContextStubs.cpp: In function '_RexxStemObject* ResolveStemVariable(RexxCallContext*, RexxObjectPtr)': ./interpreter/api/CallContextStubs.cpp:163:83: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxStemObject)context.context->resolveStemVariable((RexxObject *)s); ^ ./interpreter/api/CallContextStubs.cpp: In function 'void SetExitContextVariable(RexxExitContext*, CSTRING, RexxObjectPtr)': ./interpreter/api/CallContextStubs.cpp:192:76: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.context->setContextVariable((const char *)n, (RexxObject *)v); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MethodContextStubs.lo `test -f './interpreter/api/MethodContextStubs.cpp' || echo './'`./interpreter/api/MethodContextStubs.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ThreadContextStubs.lo `test -f './interpreter/api/ThreadContextStubs.cpp' || echo './'`./interpreter/api/ThreadContextStubs.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/InterpreterAPI.cpp:48: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/InterpreterAPI.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/InterpreterAPI.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/api/InterpreterAPI.cpp:48: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/api/MethodContextStubs.cpp -fPIC -DPIC -o .libs/librexx_la-MethodContextStubs.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/api/ThreadContextStubs.cpp -fPIC -DPIC -o .libs/librexx_la-ThreadContextStubs.o In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/api/MethodContextStubs.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/api/ThreadContextStubs.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/InterpreterInstanceStubs.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/InterpreterInstanceStubs.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/InterpreterInstanceStubs.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/api/InterpreterInstanceStubs.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-PrimitiveBehaviours.lo `test -f './interpreter/behaviour/PrimitiveBehaviours.cpp' || echo './'`./interpreter/behaviour/PrimitiveBehaviours.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/behaviour/PrimitiveBehaviours.cpp -fPIC -DPIC -o .libs/librexx_la-PrimitiveBehaviours.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/behaviour/PrimitiveBehaviours.cpp:53: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxBehaviour.lo `test -f './interpreter/behaviour/RexxBehaviour.cpp' || echo './'`./interpreter/behaviour/RexxBehaviour.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/MethodContextStubs.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/MethodContextStubs.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/MethodContextStubs.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/api/MethodContextStubs.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/behaviour/RexxBehaviour.cpp -fPIC -DPIC -o .libs/librexx_la-RexxBehaviour.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./interpreter/behaviour/RexxBehaviour.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/ThreadContextStubs.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/ThreadContextStubs.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/api/ThreadContextStubs.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/api/ThreadContextStubs.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/api/MethodContextStubs.cpp: In function 'void SetObjectVariable(RexxMethodContext*, CSTRING, RexxObjectPtr)': ./interpreter/api/MethodContextStubs.cpp:161:61: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.context->setObjectVariable(n, (RexxObject *)v); ^ ./interpreter/api/MethodContextStubs.cpp: In function '_RexxObjectPtr* ForwardMessage(RexxMethodContext*, RexxObjectPtr, CSTRING, RexxClassObject, RexxArrayObject)': ./interpreter/api/MethodContextStubs.cpp:200:55: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.context->forwardMessage((RexxObject *)o, message, (RexxClass *)clazz, (RexxArray *)a, result); ^ ./interpreter/api/MethodContextStubs.cpp:200:80: warning: cast from 'RexxClassObject {aka _RexxClassObject*}' to 'RexxClass*' increases required alignment of target type [-Wcast-align] context.context->forwardMessage((RexxObject *)o, message, (RexxClass *)clazz, (RexxArray *)a, result); ^~~~~ ./interpreter/api/MethodContextStubs.cpp:200:100: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] context.context->forwardMessage((RexxObject *)o, message, (RexxClass *)clazz, (RexxArray *)a, result); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-VirtualFunctionTable.lo `test -f './interpreter/behaviour/VirtualFunctionTable.cpp' || echo './'`./interpreter/behaviour/VirtualFunctionTable.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/PrimitiveBehaviours.cpp:53: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/PrimitiveBehaviours.cpp:53: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/PrimitiveBehaviours.cpp:53: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* RequestGlobalReference(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:116:75: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.activity->getInstance()->addGlobalReference((RexxObject *)o); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void ReleaseGlobalReference(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:131:78: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.activity->getInstance()->removeGlobalReference((RexxObject *)o); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/behaviour/PrimitiveBehaviours.cpp:53: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void ReleaseLocalReference(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:144:61: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.context->removeLocalReference((RexxObject *)o); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* SendMessageArray(RexxThreadContext*, RexxObjectPtr, CSTRING, RexxArrayObject)': ./interpreter/api/ThreadContextStubs.cpp:161:43: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxObject *)o)->sendMessage(message, (RexxArray *)a)); ^ ./interpreter/api/ThreadContextStubs.cpp:161:81: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxObject *)o)->sendMessage(message, (RexxArray *)a)); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* SendMessage0(RexxThreadContext*, RexxObjectPtr, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:177:43: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxObject *)o)->sendMessage(message)); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* SendMessage1(RexxThreadContext*, RexxObjectPtr, CSTRING, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:193:43: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxObject *)o)->sendMessage(message, (RexxObject *)a1)); ^ ./interpreter/api/ThreadContextStubs.cpp:193:82: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxObject *)o)->sendMessage(message, (RexxObject *)a1)); ^~ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* SendMessage2(RexxThreadContext*, RexxObjectPtr, CSTRING, RexxObjectPtr, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:208:43: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxObject *)o)->sendMessage(message, (RexxObject *)a1, (RexxObject *)a2)); ^ ./interpreter/api/ThreadContextStubs.cpp:208:82: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxObject *)o)->sendMessage(message, (RexxObject *)a1, (RexxObject *)a2)); ^~ ./interpreter/api/ThreadContextStubs.cpp:208:100: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxObject *)o)->sendMessage(message, (RexxObject *)a1, (RexxObject *)a2)); ^~ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsInstanceOf(RexxThreadContext*, RexxObjectPtr, RexxClassObject)': ./interpreter/api/ThreadContextStubs.cpp:248:31: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->isInstanceOf((RexxClass *)cl); ^ ./interpreter/api/ThreadContextStubs.cpp:248:61: warning: cast from 'RexxClassObject {aka _RexxClassObject*}' to 'RexxClass*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->isInstanceOf((RexxClass *)cl); ^~ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsOfType(RexxThreadContext*, RexxObjectPtr, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:271:31: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->isInstanceOf(classObject); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t HasMethod(RexxThreadContext*, RexxObjectPtr, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:288:31: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->hasMethod(name) == TheTrueObject; ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxClassObject* FindClassFromPackage(RexxThreadContext*, RexxPackageObject, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:395:62: warning: cast from 'RexxPackageObject {aka _RexxPackageObject*}' to 'PackageClass*' increases required alignment of target type [-Wcast-align] return (RexxClassObject)context.ret(((PackageClass *)m)->findClass(name)); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxDirectoryObject* GetPackageRoutines(RexxThreadContext*, RexxPackageObject)': ./interpreter/api/ThreadContextStubs.cpp:410:66: warning: cast from 'RexxPackageObject {aka _RexxPackageObject*}' to 'PackageClass*' increases required alignment of target type [-Wcast-align] return (RexxDirectoryObject)context.ret(((PackageClass *)m)->getRoutines()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxDirectoryObject* GetPackagePublicRoutines(RexxThreadContext*, RexxPackageObject)': ./interpreter/api/ThreadContextStubs.cpp:424:66: warning: cast from 'RexxPackageObject {aka _RexxPackageObject*}' to 'PackageClass*' increases required alignment of target type [-Wcast-align] return (RexxDirectoryObject)context.ret(((PackageClass *)m)->getPublicRoutines()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxDirectoryObject* GetPackageClasses(RexxThreadContext*, RexxPackageObject)': ./interpreter/api/ThreadContextStubs.cpp:437:66: warning: cast from 'RexxPackageObject {aka _RexxPackageObject*}' to 'PackageClass*' increases required alignment of target type [-Wcast-align] return (RexxDirectoryObject)context.ret(((PackageClass *)m)->getClasses()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxDirectoryObject* GetPackagePublicClasses(RexxThreadContext*, RexxPackageObject)': ./interpreter/api/ThreadContextStubs.cpp:450:66: warning: cast from 'RexxPackageObject {aka _RexxPackageObject*}' to 'PackageClass*' increases required alignment of target type [-Wcast-align] return (RexxDirectoryObject)context.ret(((PackageClass *)m)->getPublicClasses()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxDirectoryObject* GetPackageMethods(RexxThreadContext*, RexxPackageObject)': ./interpreter/api/ThreadContextStubs.cpp:463:66: warning: cast from 'RexxPackageObject {aka _RexxPackageObject*}' to 'PackageClass*' increases required alignment of target type [-Wcast-align] return (RexxDirectoryObject)context.ret(((PackageClass *)m)->getClasses()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* CallRoutine(RexxThreadContext*, RexxRoutineObject, RexxArrayObject)': ./interpreter/api/ThreadContextStubs.cpp:477:58: warning: cast from 'RexxRoutineObject {aka _RexxRoutineObject*}' to 'RoutineClass*' increases required alignment of target type [-Wcast-align] CallRoutineDispatcher dispatcher((RoutineClass *)r, (RexxArray *)a); ^ ./interpreter/api/ThreadContextStubs.cpp:477:74: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] CallRoutineDispatcher dispatcher((RoutineClass *)r, (RexxArray *)a); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* CallProgram(RexxThreadContext*, const char*, RexxArrayObject)': ./interpreter/api/ThreadContextStubs.cpp:493:58: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] CallProgramDispatcher dispatcher(p, (RexxArray *)a); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsRoutine(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:544:42: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (logical_t)((RexxObject *)o)->isInstanceOf(TheRoutineClass); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsMethod(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:559:42: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (logical_t)((RexxObject *)o)->isInstanceOf(TheMethodClass); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxPackageObject* GetRoutinePackage(RexxThreadContext*, RexxRoutineObject)': ./interpreter/api/ThreadContextStubs.cpp:574:64: warning: cast from 'RexxRoutineObject {aka _RexxRoutineObject*}' to 'RoutineClass*' increases required alignment of target type [-Wcast-align] return (RexxPackageObject)context.ret(((RoutineClass *)o)->getPackage()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxPackageObject* GetMethodPackage(RexxThreadContext*, RexxMethodObject)': ./interpreter/api/ThreadContextStubs.cpp:589:62: warning: cast from 'RexxMethodObject {aka _RexxMethodObject*}' to 'RexxMethod*' increases required alignment of target type [-Wcast-align] return (RexxPackageObject)context.ret(((RexxMethod *)o)->getPackage()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void* ObjectToCSelf(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:604:31: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->getCSelf(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void* ObjectToCSelfScoped(RexxThreadContext*, RexxObjectPtr, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:619:31: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->getCSelf((RexxObject *)s); ^ ./interpreter/api/ThreadContextStubs.cpp:619:58: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->getCSelf((RexxObject *)s); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToValue(RexxThreadContext*, RexxObjectPtr, ValueDescriptor*)': ./interpreter/api/ThreadContextStubs.cpp:703:61: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return context.context->objectToValue((RexxObject *)o, d); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToWholeNumber(RexxThreadContext*, RexxObjectPtr, wholenumber_t*)': ./interpreter/api/ThreadContextStubs.cpp:737:57: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (Numerics::objectToWholeNumber((RexxObject *)o, temp, Numerics::MAX_WHOLENUMBER, Numerics::MIN_WHOLENUMBER)) ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToStringSize(RexxThreadContext*, RexxObjectPtr, stringsize_t*)': ./interpreter/api/ThreadContextStubs.cpp:786:56: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (Numerics::objectToStringSize((RexxObject *)o, temp, Numerics::MAX_WHOLENUMBER)) ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToInt32(RexxThreadContext*, RexxObjectPtr, int32_t*)': ./interpreter/api/ThreadContextStubs.cpp:809:59: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (Numerics::objectToSignedInteger((RexxObject *)o, temp, INT32_MAX, INT32_MIN)) ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToUnsignedInt32(RexxThreadContext*, RexxObjectPtr, uint32_t*)': ./interpreter/api/ThreadContextStubs.cpp:830:61: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (Numerics::objectToUnsignedInteger((RexxObject *)o, temp, UINT32_MAX)) ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToInt64(RexxThreadContext*, RexxObjectPtr, int64_t*)': ./interpreter/api/ThreadContextStubs.cpp:876:54: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return Numerics::objectToInt64((RexxObject *)o, *n); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToUnsignedInt64(RexxThreadContext*, RexxObjectPtr, uint64_t*)': ./interpreter/api/ThreadContextStubs.cpp:890:62: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return Numerics::objectToUnsignedInt64((RexxObject *)o, *n); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToUintptr(RexxThreadContext*, RexxObjectPtr, uintptr_t*)': ./interpreter/api/ThreadContextStubs.cpp:904:56: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return Numerics::objectToUintptr((RexxObject *)o, *n); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToIntptr(RexxThreadContext*, RexxObjectPtr, intptr_t*)': ./interpreter/api/ThreadContextStubs.cpp:918:55: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return Numerics::objectToIntptr((RexxObject *)o, *n); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToLogical(RexxThreadContext*, RexxObjectPtr, logical_t*)': ./interpreter/api/ThreadContextStubs.cpp:932:31: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->logicalValue(*n); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t ObjectToDouble(RexxThreadContext*, RexxObjectPtr, double*)': ./interpreter/api/ThreadContextStubs.cpp:984:31: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxObject *)o)->doubleValue(*n); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxStringObject* ObjectToString(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:997:75: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxStringObject)context.ret(REQUEST_STRING((RexxObject *)o)); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'const char* ObjectToStringValue(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1010:57: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] RexxString *temp = REQUEST_STRING((RexxObject *)o); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/behaviour/VirtualFunctionTable.cpp -fPIC -DPIC -o .libs/librexx_la-VirtualFunctionTable.o ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t StringGet(RexxThreadContext*, RexxStringObject, size_t, POINTER, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1025:42: warning: cast from 'RexxStringObject {aka _RexxStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] RexxString *temp = (RexxString *)s; ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t StringLength(RexxThreadContext*, RexxStringObject)': ./interpreter/api/ThreadContextStubs.cpp:1039:42: warning: cast from 'RexxStringObject {aka _RexxStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] RexxString *temp = (RexxString *)s; ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'const char* StringData(RexxThreadContext*, RexxStringObject)': ./interpreter/api/ThreadContextStubs.cpp:1053:42: warning: cast from 'RexxStringObject {aka _RexxStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] RexxString *temp = (RexxString *)s; ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxStringObject* StringUpper(RexxThreadContext*, RexxStringObject)': ./interpreter/api/ThreadContextStubs.cpp:1093:42: warning: cast from 'RexxStringObject {aka _RexxStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] RexxString *temp = (RexxString *)s; ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxStringObject* StringLower(RexxThreadContext*, RexxStringObject)': ./interpreter/api/ThreadContextStubs.cpp:1107:42: warning: cast from 'RexxStringObject {aka _RexxStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] RexxString *temp = (RexxString *)s; ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsString(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1121:39: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return isString((RexxObject *)o); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t BufferStringLength(RexxThreadContext*, RexxBufferStringObject)': ./interpreter/api/ThreadContextStubs.cpp:1147:42: warning: cast from 'RexxBufferStringObject {aka _RexxBufferStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] RexxString *temp = (RexxString *)s; ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void* BufferStringData(RexxThreadContext*, RexxBufferStringObject)': ./interpreter/api/ThreadContextStubs.cpp:1161:42: warning: cast from 'RexxBufferStringObject {aka _RexxBufferStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] RexxString *temp = (RexxString *)s; ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxStringObject* FinishBufferString(RexxThreadContext*, RexxBufferStringObject, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1175:42: warning: cast from 'RexxBufferStringObject {aka _RexxBufferStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] RexxString *temp = (RexxString *)s; ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void DirectoryPut(RexxThreadContext*, RexxDirectoryObject, RexxObjectPtr, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:1192:27: warning: cast from 'RexxDirectoryObject {aka _RexxDirectoryObject*}' to 'RexxDirectory*' increases required alignment of target type [-Wcast-align] ((RexxDirectory *)t)->put((RexxObject *)o, index); ^ ./interpreter/api/ThreadContextStubs.cpp:1192:49: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxDirectory *)t)->put((RexxObject *)o, index); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* DirectoryAt(RexxThreadContext*, RexxDirectoryObject, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:1206:46: warning: cast from 'RexxDirectoryObject {aka _RexxDirectoryObject*}' to 'RexxDirectory*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxDirectory *)t)->at(index)); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* DirectoryRemove(RexxThreadContext*, RexxDirectoryObject, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:1221:46: warning: cast from 'RexxDirectoryObject {aka _RexxDirectoryObject*}' to 'RexxDirectory*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxDirectory *)t)->remove(index)); ^ In file included from ./interpreter/api/ThreadContextStubs.cpp:45:0: ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsDirectory(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1247:51: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return isOfClass(Directory, (RexxObject *)o); ^ ./interpreter/runtime/RexxCore.h:211:25: note: in definition of macro 'isOfClass' #define isOfClass(t,r) (r)->isObjectType(The##t##Behaviour) ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* ArrayAt(RexxThreadContext*, RexxArrayObject, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1264:57: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return (RexxObjectPtr)context.ret(((RexxArray *)a)->getApi(i)); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void ArrayPut(RexxThreadContext*, RexxArrayObject, RexxObjectPtr, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1282:23: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] ((RexxArray *)a)->putApi((RexxObject *)o, i); ^ ./interpreter/api/ThreadContextStubs.cpp:1282:48: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxArray *)a)->putApi((RexxObject *)o, i); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t ArrayAppend(RexxThreadContext*, RexxArrayObject, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1295:30: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return ((RexxArray *)a)->append((RexxObject *)o); ^ ./interpreter/api/ThreadContextStubs.cpp:1295:55: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return ((RexxArray *)a)->append((RexxObject *)o); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t ArrayAppendString(RexxThreadContext*, RexxArrayObject, CSTRING, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1311:30: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return ((RexxArray *)a)->append(str); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t ArraySize(RexxThreadContext*, RexxArrayObject)': ./interpreter/api/ThreadContextStubs.cpp:1325:30: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return ((RexxArray *)a)->size(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t ArrayItems(RexxThreadContext*, RexxArrayObject)': ./interpreter/api/ThreadContextStubs.cpp:1339:30: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return ((RexxArray *)a)->items(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t ArrayDimension(RexxThreadContext*, RexxArrayObject)': ./interpreter/api/ThreadContextStubs.cpp:1352:30: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return ((RexxArray *)a)->getDimension(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxArrayObject* ArrayOfOne(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1378:69: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o)); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxArrayObject* ArrayOfTwo(RexxThreadContext*, RexxObjectPtr, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1391:69: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2)); ^~ ./interpreter/api/ThreadContextStubs.cpp:1391:87: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2)); ^~ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxArrayObject* ArrayOfThree(RexxThreadContext*, RexxObjectPtr, RexxObjectPtr, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1404:69: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2, (RexxObject *)o3)); ^~ ./interpreter/api/ThreadContextStubs.cpp:1404:87: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2, (RexxObject *)o3)); ^~ ./interpreter/api/ThreadContextStubs.cpp:1404:105: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2, (RexxObject *)o3)); ^~ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxArrayObject* ArrayOfFour(RexxThreadContext*, RexxObjectPtr, RexxObjectPtr, RexxObjectPtr, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1417:69: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2, (RexxObject *)o3, (RexxObject *)o4)); ^~ ./interpreter/api/ThreadContextStubs.cpp:1417:87: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2, (RexxObject *)o3, (RexxObject *)o4)); ^~ ./interpreter/api/ThreadContextStubs.cpp:1417:105: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2, (RexxObject *)o3, (RexxObject *)o4)); ^~ ./interpreter/api/ThreadContextStubs.cpp:1417:123: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxArrayObject)context.ret(new_array((RexxObject *)o1, (RexxObject *)o2, (RexxObject *)o3, (RexxObject *)o4)); ^~ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsArray(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1431:38: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return isArray((RexxObject *)o); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void* BufferData(RexxThreadContext*, RexxBufferObject)': ./interpreter/api/ThreadContextStubs.cpp:1444:40: warning: cast from 'RexxBufferObject {aka _RexxBufferObject*}' to 'RexxBuffer*' increases required alignment of target type [-Wcast-align] return (POINTER)((RexxBuffer *)b)->getData(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t BufferLength(RexxThreadContext*, RexxBufferObject)': ./interpreter/api/ThreadContextStubs.cpp:1457:31: warning: cast from 'RexxBufferObject {aka _RexxBufferObject*}' to 'RexxBuffer*' increases required alignment of target type [-Wcast-align] return ((RexxBuffer *)b)->getDataLength(); ^ In file included from ./interpreter/api/ThreadContextStubs.cpp:45:0: ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsBuffer(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1483:48: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return isOfClass(Buffer, (RexxObject *)o); ^ ./interpreter/runtime/RexxCore.h:211:25: note: in definition of macro 'isOfClass' #define isOfClass(t,r) (r)->isObjectType(The##t##Behaviour) ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void* PointerValue(RexxThreadContext*, RexxPointerObject)': ./interpreter/api/ThreadContextStubs.cpp:1496:41: warning: cast from 'RexxPointerObject {aka _RexxPointerObject*}' to 'RexxPointer*' increases required alignment of target type [-Wcast-align] return (POINTER)((RexxPointer *)o)->pointer(); ^ In file included from ./interpreter/api/ThreadContextStubs.cpp:45:0: ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsPointer(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1522:49: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return isOfClass(Pointer, (RexxObject *)o); ^ ./interpreter/runtime/RexxCore.h:211:25: note: in definition of macro 'isOfClass' #define isOfClass(t,r) (r)->isObjectType(The##t##Behaviour) ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* SupplierItem(RexxThreadContext*, RexxSupplierObject)': ./interpreter/api/ThreadContextStubs.cpp:1535:45: warning: cast from 'RexxSupplierObject {aka _RexxSupplierObject*}' to 'RexxSupplier*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxSupplier *)o)->value()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* SupplierIndex(RexxThreadContext*, RexxSupplierObject)': ./interpreter/api/ThreadContextStubs.cpp:1548:45: warning: cast from 'RexxSupplierObject {aka _RexxSupplierObject*}' to 'RexxSupplier*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxSupplier *)o)->index()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t SupplierAvailable(RexxThreadContext*, RexxSupplierObject)': ./interpreter/api/ThreadContextStubs.cpp:1561:33: warning: cast from 'RexxSupplierObject {aka _RexxSupplierObject*}' to 'RexxSupplier*' increases required alignment of target type [-Wcast-align] return ((RexxSupplier *)o)->available() == TheTrueObject; ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void SupplierNext(RexxThreadContext*, RexxSupplierObject)': ./interpreter/api/ThreadContextStubs.cpp:1574:26: warning: cast from 'RexxSupplierObject {aka _RexxSupplierObject*}' to 'RexxSupplier*' increases required alignment of target type [-Wcast-align] ((RexxSupplier *)o)->next(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxSupplierObject* NewSupplier(RexxThreadContext*, RexxArrayObject, RexxArrayObject)': ./interpreter/api/ThreadContextStubs.cpp:1586:74: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return (RexxSupplierObject)context.ret(new_supplier((RexxArray *)values, (RexxArray *)names)); ^~~~~~ ./interpreter/api/ThreadContextStubs.cpp:1586:95: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] return (RexxSupplierObject)context.ret(new_supplier((RexxArray *)values, (RexxArray *)names)); ^~~~~ ./interpreter/api/ThreadContextStubs.cpp: In function 'void SetStemElement(RexxThreadContext*, RexxStemObject, CSTRING, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1622:22: warning: cast from 'RexxStemObject {aka _RexxStemObject*}' to 'RexxStem*' increases required alignment of target type [-Wcast-align] ((RexxStem *)s)->setElement(n, (RexxObject *)v); ^ ./interpreter/api/ThreadContextStubs.cpp:1622:54: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxStem *)s)->setElement(n, (RexxObject *)v); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* GetStemElement(RexxThreadContext*, RexxStemObject, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:1634:41: warning: cast from 'RexxStemObject {aka _RexxStemObject*}' to 'RexxStem*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxStem *)s)->getElement(n)); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition ./interpreter/api/ThreadContextStubs.cpp: In function 'void DropStemElement(RexxThreadContext*, RexxStemObject, CSTRING)': ./interpreter/api/ThreadContextStubs.cpp:1647:22: warning: cast from 'RexxStemObject {aka _RexxStemObject*}' to 'RexxStem*' increases required alignment of target type [-Wcast-align] ((RexxStem *)s)->dropElement(n); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void SetStemArrayElement(RexxThreadContext*, RexxStemObject, size_t, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1659:22: warning: cast from 'RexxStemObject {aka _RexxStemObject*}' to 'RexxStem*' increases required alignment of target type [-Wcast-align] ((RexxStem *)s)->setElement((size_t )i, (RexxObject *)v); ^ ./interpreter/api/ThreadContextStubs.cpp:1659:63: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxStem *)s)->setElement((size_t )i, (RexxObject *)v); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* GetStemArrayElement(RexxThreadContext*, RexxStemObject, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1671:41: warning: cast from 'RexxStemObject {aka _RexxStemObject*}' to 'RexxStem*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxStem *)s)->getElement((size_t)i)); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void DropStemArrayElement(RexxThreadContext*, RexxStemObject, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1684:22: warning: cast from 'RexxStemObject {aka _RexxStemObject*}' to 'RexxStem*' increases required alignment of target type [-Wcast-align] ((RexxStem *)s)->dropElement((size_t)i); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxDirectoryObject* GetAllStemElements(RexxThreadContext*, RexxStemObject)': ./interpreter/api/ThreadContextStubs.cpp:1696:62: warning: cast from 'RexxStemObject {aka _RexxStemObject*}' to 'RexxStem*' increases required alignment of target type [-Wcast-align] return (RexxDirectoryObject)context.ret(((RexxStem *)s)->toDirectory()); ^ ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxObjectPtr* GetStemValue(RexxThreadContext*, RexxStemObject)': ./interpreter/api/ThreadContextStubs.cpp:1709:41: warning: cast from 'RexxStemObject {aka _RexxStemObject*}' to 'RexxStem*' increases required alignment of target type [-Wcast-align] return context.ret(((RexxStem *)s)->getStemValue()); ^ In file included from ./interpreter/api/ThreadContextStubs.cpp:45:0: ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsStem(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1722:46: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return isOfClass(Stem, (RexxObject *)o); ^ ./interpreter/runtime/RexxCore.h:211:25: note: in definition of macro 'isOfClass' #define isOfClass(t,r) (r)->isObjectType(The##t##Behaviour) ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void RaiseException1(RexxThreadContext*, size_t, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1747:57: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] reportException((wholenumber_t)n, (RexxObject *)o1); ^~ ./interpreter/api/ThreadContextStubs.cpp: In function 'void RaiseException2(RexxThreadContext*, size_t, RexxObjectPtr, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1759:57: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] reportException((wholenumber_t)n, (RexxObject *)o1, (RexxObject *)o2); ^~ ./interpreter/api/ThreadContextStubs.cpp:1759:75: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] reportException((wholenumber_t)n, (RexxObject *)o1, (RexxObject *)o2); ^~ ./interpreter/api/ThreadContextStubs.cpp: In function 'void APIRaiseException(RexxThreadContext*, size_t, RexxArrayObject)': ./interpreter/api/ThreadContextStubs.cpp:1771:56: warning: cast from 'RexxArrayObject {aka _RexxArrayObject*}' to 'RexxArray*' increases required alignment of target type [-Wcast-align] reportException((wholenumber_t)n, (RexxArray *)a); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void RaiseCondition(RexxThreadContext*, CSTRING, RexxStringObject, RexxObjectPtr, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1786:73: warning: cast from 'RexxStringObject {aka _RexxStringObject*}' to 'RexxString*' increases required alignment of target type [-Wcast-align] context.activity->raiseCondition(name, OREF_NULL, (RexxString *)desc, (RexxObject *)add, (RexxObject *)result); ^~~~ ./interpreter/api/ThreadContextStubs.cpp:1786:93: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.activity->raiseCondition(name, OREF_NULL, (RexxString *)desc, (RexxObject *)add, (RexxObject *)result); ^~~ ./interpreter/api/ThreadContextStubs.cpp:1786:112: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] context.activity->raiseCondition(name, OREF_NULL, (RexxString *)desc, (RexxObject *)add, (RexxObject *)result); ^~~~~~ ./interpreter/api/ThreadContextStubs.cpp: In function 'void DecodeConditionInfo(RexxThreadContext*, RexxDirectoryObject, RexxCondition*)': ./interpreter/api/ThreadContextStubs.cpp:1838:59: warning: cast from 'RexxDirectoryObject {aka _RexxDirectoryObject*}' to 'RexxDirectory*' increases required alignment of target type [-Wcast-align] Interpreter::decodeConditionData((RexxDirectory *)d, cd); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void* MutableBufferData(RexxThreadContext*, RexxMutableBufferObject)': ./interpreter/api/ThreadContextStubs.cpp:1862:47: warning: cast from 'RexxMutableBufferObject {aka _RexxMutableBufferObject*}' to 'RexxMutableBuffer*' increases required alignment of target type [-Wcast-align] return (POINTER)((RexxMutableBuffer *)b)->getData(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t MutableBufferLength(RexxThreadContext*, RexxMutableBufferObject)': ./interpreter/api/ThreadContextStubs.cpp:1875:38: warning: cast from 'RexxMutableBufferObject {aka _RexxMutableBufferObject*}' to 'RexxMutableBuffer*' increases required alignment of target type [-Wcast-align] return ((RexxMutableBuffer *)b)->getLength(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t SetMutableBufferLength(RexxThreadContext*, RexxMutableBufferObject, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1888:38: warning: cast from 'RexxMutableBufferObject {aka _RexxMutableBufferObject*}' to 'RexxMutableBuffer*' increases required alignment of target type [-Wcast-align] return ((RexxMutableBuffer *)b)->setDataLength(length); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'size_t MutableBufferCapacity(RexxThreadContext*, RexxMutableBufferObject)': ./interpreter/api/ThreadContextStubs.cpp:1901:38: warning: cast from 'RexxMutableBufferObject {aka _RexxMutableBufferObject*}' to 'RexxMutableBuffer*' increases required alignment of target type [-Wcast-align] return ((RexxMutableBuffer *)b)->getCapacity(); ^ ./interpreter/api/ThreadContextStubs.cpp: In function 'void* SetMutableBufferCapacity(RexxThreadContext*, RexxMutableBufferObject, size_t)': ./interpreter/api/ThreadContextStubs.cpp:1914:47: warning: cast from 'RexxMutableBufferObject {aka _RexxMutableBufferObject*}' to 'RexxMutableBuffer*' increases required alignment of target type [-Wcast-align] return (POINTER)((RexxMutableBuffer *)b)->setCapacity(length); ^ In file included from ./interpreter/api/ThreadContextStubs.cpp:45:0: ./interpreter/api/ThreadContextStubs.cpp: In function 'logical_t IsMutableBuffer(RexxThreadContext*, RexxObjectPtr)': ./interpreter/api/ThreadContextStubs.cpp:1940:55: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return isOfClass(MutableBuffer, (RexxObject *)o); ^ ./interpreter/runtime/RexxCore.h:211:25: note: in definition of macro 'isOfClass' #define isOfClass(t,r) (r)->isObjectType(The##t##Behaviour) ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/behaviour/VirtualFunctionTable.cpp:53: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/RexxBehaviour.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/RexxBehaviour.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/RexxBehaviour.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/behaviour/RexxBehaviour.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-CPPCode.lo `test -f './interpreter/execution/CPPCode.cpp' || echo './'`./interpreter/execution/CPPCode.cpp ./interpreter/behaviour/RexxBehaviour.cpp: In member function 'virtual void RexxBehaviour::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxBehaviour* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/behaviour/RexxBehaviour.cpp:133:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->methodDictionary, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxBehaviour* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/behaviour/RexxBehaviour.cpp:134:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->instanceMethodDictionary, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxBehaviour* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/behaviour/RexxBehaviour.cpp:135:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->scopes, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxBehaviour* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/behaviour/RexxBehaviour.cpp:136:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->owningClass, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/CPPCode.cpp -fPIC -DPIC -o .libs/librexx_la-CPPCode.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/execution/CPPCode.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxActivation.lo `test -f './interpreter/execution/RexxActivation.cpp' || echo './'`./interpreter/execution/RexxActivation.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/VirtualFunctionTable.cpp:53: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxActivationStack.lo `test -f './interpreter/execution/RexxActivationStack.cpp' || echo './'`./interpreter/execution/RexxActivationStack.cpp In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/VirtualFunctionTable.cpp:53: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/behaviour/VirtualFunctionTable.cpp:53: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/behaviour/VirtualFunctionTable.cpp:53: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/RexxActivation.cpp -fPIC -DPIC -o .libs/librexx_la-RexxActivation.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/execution/RexxActivation.cpp:51: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/RexxActivationStack.cpp -fPIC -DPIC -o .libs/librexx_la-RexxActivationStack.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/execution/RexxActivationStack.cpp:50: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/CPPCode.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/CPPCode.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/CPPCode.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/CPPCode.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/behaviour/VirtualFunctionTable.cpp: In static member function 'static void RexxMemory::buildVirtualFunctionTable()': ./interpreter/behaviour/VirtualFunctionTable.cpp:176:20: warning: variable 'objectPtr' set but not used [-Wunused-but-set-variable] volatile void *objectPtr; ^~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxActivationStack.cpp:52: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxActivationStack.cpp:52: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxActivationStack.cpp:52: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/RexxActivationStack.cpp:52: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/execution/CPPCode.cpp:45:0: ./interpreter/concurrency/ActivationFrame.hpp: In constructor 'InternalActivationFrame::InternalActivationFrame(RexxActivity*, RexxString*, RexxObject*, RexxMethod*, RexxObject**, size_t)': ./interpreter/concurrency/ActivationFrame.hpp:124:17: warning: 'InternalActivationFrame::target' will be initialized after [-Wreorder] RexxObject *target; // method target ^~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:123:17: warning: 'RexxMethod* InternalActivationFrame::frameMethod' [-Wreorder] RexxMethod *frameMethod; // the backing method object ^~~~~~~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:113:12: warning: when initialized here [-Wreorder] inline InternalActivationFrame(RexxActivity *a, RexxString *n, RexxObject *t, RexxMethod *m, RexxObject **args, size_t c) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/CPPCode.cpp:39: ./interpreter/execution/CPPCode.cpp: In member function 'virtual void AttributeGetterCode::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'AttributeGetterCode* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/CPPCode.cpp:218:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->attribute, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/execution/CPPCode.cpp: In member function 'virtual void ConstantGetterCode::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ConstantGetterCode* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/CPPCode.cpp:354:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->constantValue, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxActivation.cpp:53: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxActivation.cpp:53: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxActivation.cpp:53: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/RexxActivation.cpp:53: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/execution/RexxActivationStack.cpp: In member function 'virtual void RexxActivationFrameBuffer::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxActivationFrameBuffer* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxActivationStack.cpp:83:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->previous, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxCode.lo `test -f './interpreter/execution/RexxCode.cpp' || echo './'`./interpreter/execution/RexxCode.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxLocalVariables.lo `test -f './interpreter/execution/RexxLocalVariables.cpp' || echo './'`./interpreter/execution/RexxLocalVariables.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/RexxCode.cpp -fPIC -DPIC -o .libs/librexx_la-RexxCode.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/RexxLocalVariables.cpp -fPIC -DPIC -o .libs/librexx_la-RexxLocalVariables.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxNativeActivation.lo `test -f './interpreter/execution/RexxNativeActivation.cpp' || echo './'`./interpreter/execution/RexxNativeActivation.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/execution/RexxActivation.cpp:76:0: ./interpreter/concurrency/ActivationFrame.hpp: In constructor 'InternalActivationFrame::InternalActivationFrame(RexxActivity*, RexxString*, RexxObject*, RexxMethod*, RexxObject**, size_t)': ./interpreter/concurrency/ActivationFrame.hpp:124:17: warning: 'InternalActivationFrame::target' will be initialized after [-Wreorder] RexxObject *target; // method target ^~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:123:17: warning: 'RexxMethod* InternalActivationFrame::frameMethod' [-Wreorder] RexxMethod *frameMethod; // the backing method object ^~~~~~~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:113:12: warning: when initialized here [-Wreorder] inline InternalActivationFrame(RexxActivity *a, RexxString *n, RexxObject *t, RexxMethod *m, RexxObject **args, size_t c) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/execution/RexxCode.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/execution/RexxLocalVariables.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/RexxNativeActivation.cpp -fPIC -DPIC -o .libs/librexx_la-RexxNativeActivation.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/execution/RexxNativeActivation.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxCode.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxCode.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxCode.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/RexxCode.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxLocalVariables.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxLocalVariables.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxLocalVariables.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/RexxLocalVariables.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxNativeActivation.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxNativeActivation.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxNativeActivation.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/RexxNativeActivation.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxNativeCode.lo `test -f './interpreter/execution/RexxNativeCode.cpp' || echo './'`./interpreter/execution/RexxNativeCode.cpp ./interpreter/execution/RexxCode.cpp: In member function 'virtual void RexxCode::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCode* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxCode.cpp:167:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->source, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCode* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxCode.cpp:168:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->start, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCode* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxCode.cpp:169:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->labels, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/RexxNativeCode.cpp -fPIC -DPIC -o .libs/librexx_la-RexxNativeCode.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxVariable.lo `test -f './interpreter/execution/RexxVariable.cpp' || echo './'`./interpreter/execution/RexxVariable.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/execution/RexxNativeCode.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxVariableDictionary.lo `test -f './interpreter/execution/RexxVariableDictionary.cpp' || echo './'`./interpreter/execution/RexxVariableDictionary.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/RexxVariable.cpp -fPIC -DPIC -o .libs/librexx_la-RexxVariable.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/execution/RexxVariable.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/RexxVariableDictionary.cpp -fPIC -DPIC -o .libs/librexx_la-RexxVariableDictionary.o In file included from ./interpreter/execution/RexxNativeActivation.cpp:66:0: ./interpreter/concurrency/ActivationFrame.hpp: In constructor 'InternalActivationFrame::InternalActivationFrame(RexxActivity*, RexxString*, RexxObject*, RexxMethod*, RexxObject**, size_t)': ./interpreter/concurrency/ActivationFrame.hpp:124:17: warning: 'InternalActivationFrame::target' will be initialized after [-Wreorder] RexxObject *target; // method target ^~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:123:17: warning: 'RexxMethod* InternalActivationFrame::frameMethod' [-Wreorder] RexxMethod *frameMethod; // the backing method object ^~~~~~~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:113:12: warning: when initialized here [-Wreorder] inline InternalActivationFrame(RexxActivity *a, RexxString *n, RexxObject *t, RexxMethod *m, RexxObject **args, size_t c) ^~~~~~~~~~~~~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/execution/RexxVariableDictionary.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/execution/RexxNativeActivation.cpp: In member function 'RexxObject* RexxNativeActivation::valueToObject(ValueDescriptor*)': ./interpreter/execution/RexxNativeActivation.cpp:708:47: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] return (RexxObject *)value->value.value_RexxObjectPtr; // just return the object value ^~~~~~~~~~~~~~~~~~~ ./interpreter/execution/RexxNativeActivation.cpp: In member function 'void RexxNativeActivation::callRegisteredRoutine(RoutineClass*, RegisteredRoutine*, RexxString*, RexxObject**, size_t, ProtectedObject&)': ./interpreter/execution/RexxNativeActivation.cpp:1421:54: warning: cast from 'char*' to 'CONSTRXSTRING* {aka _CONSTRXSTRING*}' increases required alignment of target type [-Wcast-align] argPtr = (CONSTRXSTRING *)argBuffer->getData(); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxNativeCode.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxNativeCode.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxNativeCode.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/RexxNativeCode.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxVariable.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxVariable.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxVariable.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/RexxVariable.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxVariableDictionary.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxVariableDictionary.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/RexxVariableDictionary.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/RexxVariableDictionary.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SecurityManager.lo `test -f './interpreter/execution/SecurityManager.cpp' || echo './'`./interpreter/execution/SecurityManager.cpp ./interpreter/execution/RexxNativeCode.cpp: In member function 'virtual void RexxNativeCode::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxNativeMethod* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxNativeCode.cpp:95:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->package, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxNativeMethod* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxNativeCode.cpp:96:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->name, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxNativeMethod* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxNativeCode.cpp:97:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->source, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/execution/RexxNativeCode.cpp: In member function 'virtual void RexxNativeMethod::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:429:10: warning: unused variable 'newSelf' [-Wunused-variable] size_t newSelf = envelope->currentOffset; \ ^ ./interpreter/execution/RexxNativeCode.cpp:193:3: note: in expansion of macro 'setUpFlatten' setUpFlatten(RexxNativeMethod) ^~~~~~~~~~~~ ./interpreter/execution/RexxNativeCode.cpp: In member function 'virtual void RexxNativeRoutine::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:429:10: warning: unused variable 'newSelf' [-Wunused-variable] size_t newSelf = envelope->currentOffset; \ ^ ./interpreter/execution/RexxNativeCode.cpp:219:3: note: in expansion of macro 'setUpFlatten' setUpFlatten(RexxNativeRoutine) ^~~~~~~~~~~~ ./interpreter/execution/RexxNativeCode.cpp: In member function 'virtual void RegisteredRoutine::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:429:10: warning: unused variable 'newSelf' [-Wunused-variable] size_t newSelf = envelope->currentOffset; \ ^ ./interpreter/execution/RexxNativeCode.cpp:245:3: note: in expansion of macro 'setUpFlatten' setUpFlatten(RegisteredRoutine) ^~~~~~~~~~~~ ./interpreter/execution/RexxVariable.cpp: In member function 'virtual void RexxVariable::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxVariable.cpp:76:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variableValue, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxVariable.cpp:77:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variable_name, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxVariable.cpp:78:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->dependents, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/execution/SecurityManager.cpp -fPIC -DPIC -o .libs/librexx_la-SecurityManager.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/execution/SecurityManager.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-DeadObject.lo `test -f './interpreter/memory/DeadObject.cpp' || echo './'`./interpreter/memory/DeadObject.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MemorySegment.lo `test -f './interpreter/memory/MemorySegment.cpp' || echo './'`./interpreter/memory/MemorySegment.cpp ./interpreter/execution/RexxVariableDictionary.cpp: In member function 'virtual void RexxVariableDictionary::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariableDictionary* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxVariableDictionary.cpp:498:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->contents, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariableDictionary* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxVariableDictionary.cpp:499:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->reservingActivity, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariableDictionary* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxVariableDictionary.cpp:500:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->waitingActivities, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariableDictionary* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxVariableDictionary.cpp:501:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->next, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariableDictionary* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/execution/RexxVariableDictionary.cpp:502:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->scope, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/MemorySegment.cpp -fPIC -DPIC -o .libs/librexx_la-MemorySegment.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/DeadObject.cpp -fPIC -DPIC -o .libs/librexx_la-DeadObject.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/memory/MemorySegment.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/memory/DeadObject.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MemoryStats.lo `test -f './interpreter/memory/MemoryStats.cpp' || echo './'`./interpreter/memory/MemoryStats.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/MemoryStats.cpp -fPIC -DPIC -o .libs/librexx_la-MemoryStats.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/memory/MemoryStats.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/SecurityManager.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/SecurityManager.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/execution/SecurityManager.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/execution/SecurityManager.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/MemorySegment.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/DeadObject.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/MemorySegment.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/DeadObject.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/MemorySegment.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/DeadObject.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/DeadObject.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/MemorySegment.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ProtectedObject.lo `test -f './interpreter/memory/ProtectedObject.cpp' || echo './'`./interpreter/memory/ProtectedObject.cpp ./interpreter/memory/DeadObject.cpp: In member function 'void DeadObjectPool::checkObjectOverlap(DeadObject*)': ./interpreter/memory/DeadObject.cpp:221:144: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Object at %p for length %d overlaps object at %p for length %d\n", obj, obj->getObjectSize(), check, check->getObjectSize()); ~~~~~~~~~~~~~~~~~~~~ ^ ./interpreter/memory/DeadObject.cpp:221:144: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] ./interpreter/memory/MemorySegment.cpp: In member function 'void MemorySegment::dump(const char*, size_t, FILE*, FILE*)': ./interpreter/memory/MemorySegment.cpp:54:106: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"Dumping %s Segment %d from %p for %u\n", owner, counter, &segmentStart, segmentSize); ^ ./interpreter/memory/MemorySegment.cpp:54:106: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka long unsigned int}' [-Wformat=] ./interpreter/memory/MemorySegment.cpp:56:74: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(keyfile, "%s addr.%d = %p\n", owner, counter, &segmentStart); ^ ./interpreter/memory/MemorySegment.cpp:57:72: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(keyfile, "%s size.%d = %u\n", owner, counter, segmentSize); ^ ./interpreter/memory/MemorySegment.cpp:57:72: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] ./interpreter/memory/MemorySegment.cpp: In member function 'DeadObject* MemorySegment::lastDeadObject()': ./interpreter/memory/MemorySegment.cpp:76:37: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] objectPtr += ((RexxObject *)objectPtr)->getObjectSize()) ^~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:81:25: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (!((RexxObject *)lastObjectPtr)->isObjectLive(memoryObject.markWord)) ^~~~~~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:83:29: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] return(DeadObject *)lastObjectPtr; ^~~~~~~~~~~~~ ./interpreter/memory/MemorySegment.cpp: In member function 'DeadObject* MemorySegment::firstDeadObject()': ./interpreter/memory/MemorySegment.cpp:96:31: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (!((RexxObject *)start())->isObjectLive(memoryObject.markWord)) ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/MemoryStats.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ ./interpreter/memory/MemorySegment.cpp:98:35: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] return(DeadObject *)start(); ^ ./interpreter/memory/MemorySegment.cpp: In member function 'void MemorySegment::gatherObjectStats(MemoryStats*, SegmentStats*)': ./interpreter/memory/MemorySegment.cpp:112:66: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] for (op = start(), ep = end(); op < ep; op += ((RexxObject *)op)->getObjectSize()) ^~ ./interpreter/memory/MemorySegment.cpp: In member function 'MemorySegment* MemorySegmentSet::splitSegment(size_t)': ./interpreter/memory/MemorySegment.cpp:615:97: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] for (objectPtr = segment->start(), endPtr = segment->end(), deadLength = ((RexxObject *)objectPtr)->getObjectSize(); ^~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:617:66: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] objectPtr += deadLength, deadLength = ((RexxObject *)objectPtr)->getObjectSize()) ^~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:622:33: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (!((RexxObject *)objectPtr)->isObjectLive(memoryObject.markWord)) ^~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/MemoryStats.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:719:56: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *deadObject = (DeadObject *)splitBlock; ^~~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:731:56: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *deadObject = (DeadObject *)splitBlock; ^~~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:743:105: warning: cast from 'char*' to 'MemorySegment*' increases required alignment of target type [-Wcast-align] MemorySegment *tailSegment = (MemorySegment *)( ((char*) candidateSegment) + splitLength); ^ ./interpreter/memory/MemorySegment.cpp:754:56: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *deadObject = (DeadObject *)splitBlock; ^~~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:767:112: warning: cast from 'char*' to 'MemorySegment*' increases required alignment of target type [-Wcast-align] MemorySegment *tailSegment = (MemorySegment *)(splitBlock + splitLength - MemorySegmentOverhead); ^ ./interpreter/memory/MemorySegment.cpp: In function 'bool objectIsLive(char*, size_t)': ./interpreter/memory/MemorySegment.cpp:1103:73: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] inline bool objectIsLive(char *obj, size_t mark) {return ((RexxObject *)obj)->isObjectLive(mark); } ^~~ ./interpreter/memory/MemorySegment.cpp: In function 'bool objectIsNotLive(char*, size_t)': ./interpreter/memory/MemorySegment.cpp:1104:76: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] inline bool objectIsNotLive(char *obj, size_t mark) {return ((RexxObject *)obj)->isObjectDead(mark); } ^~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/MemoryStats.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ ./interpreter/memory/MemorySegment.cpp: In member function 'void MemorySegmentSet::sweep()': ./interpreter/memory/MemorySegment.cpp:1136:40: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] bytes = ((RexxObject *)objectPtr)->getObjectSize(); ^~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:1150:45: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] deadLength = ((RexxObject *)objectPtr)->getObjectSize(); ^~~~~~~~~ ./interpreter/memory/MemorySegment.cpp:1159:44: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] bytes = ((RexxObject *)nextObjectPtr)->getObjectSize(); ^~~~~~~~~~~~~ ./interpreter/memory/MemorySegment.cpp: In member function 'RexxObject* MemorySegmentSet::splitDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.cpp:1220:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/MemoryStats.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/MemorySegment.cpp:44: ./interpreter/memory/MemorySegment.cpp: In member function 'void MemorySegment::markAllObjects()': ./interpreter/memory/MemorySegment.cpp:1782:44: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] memory_mark_general(((RexxObject *)op)->behaviour); ^ ./interpreter/memory/RexxMemory.hpp:437:71: note: in definition of macro 'memory_mark_general' #define memory_mark_general(oref) (memoryObject.markGeneral((void *)&(oref))) ^~~~ ./interpreter/memory/MemorySegment.cpp:1786:28: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (((RexxObject *)op)->hasReferences()) ^~ ./interpreter/memory/MemorySegment.cpp:1789:28: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxObject *)op)->liveGeneral(RESTORINGIMAGE); ^~ ./interpreter/memory/MemorySegment.cpp:1791:30: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] op += ((RexxObject *)op)->getObjectSize(); /* move to next object */ ^~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxEnvelope.lo `test -f './interpreter/memory/RexxEnvelope.cpp' || echo './'`./interpreter/memory/RexxEnvelope.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/ProtectedObject.cpp -fPIC -DPIC -o .libs/librexx_la-ProtectedObject.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/memory/ProtectedObject.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/RexxEnvelope.cpp -fPIC -DPIC -o .libs/librexx_la-RexxEnvelope.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/memory/RexxEnvelope.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/memory/MemoryStats.cpp: In member function 'void SegmentStats::recordObject(MemoryStats*, char*)': ./interpreter/memory/MemoryStats.cpp:69:35: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] size_t bytes = ((RexxObject *)obj)->getObjectSize(); ^~~ ./interpreter/memory/MemoryStats.cpp:72:24: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (((RexxObject *)obj)->isObjectLive(memoryObject.markWord)) ^~~ ./interpreter/memory/MemoryStats.cpp:75:43: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] memStats->logObject((RexxObject *)obj); ^~~ ./interpreter/memory/MemoryStats.cpp: In member function 'void SegmentStats::printStats()': ./interpreter/memory/MemoryStats.cpp:133:79: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("\n\n %s: Total bytes %d in %d segments \n", name, totalBytes, count); ~~~~~~~~~~ ^ ./interpreter/memory/MemoryStats.cpp:133:79: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] ./interpreter/memory/MemoryStats.cpp:134:96: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Largest segment is %d bytes, smallest is %d bytes\n", largestSegment, smallestSegment); ~~~~~~~~~~~~~~ ^ ./interpreter/memory/MemoryStats.cpp:134:96: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] ./interpreter/memory/MemoryStats.cpp:135:75: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Total Live objects %d, using %d bytes\n", liveObjects, liveBytes); ~~~~~~~~~~~ ^ ./interpreter/memory/MemoryStats.cpp:135:75: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] ./interpreter/memory/MemoryStats.cpp:136:77: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Total Dead objects %d, using %d bytes\n\n", deadObjects, deadBytes); ~~~~~~~~~~~ ^ ./interpreter/memory/MemoryStats.cpp:136:77: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] ./interpreter/memory/MemoryStats.cpp: In member function 'void ObjectStats::printStats(int)': ./interpreter/memory/MemoryStats.cpp:145:83: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] printf(" %3d %8d %8d \n", type, count, size); ~~~~~ ^ ./interpreter/memory/MemoryStats.cpp:145:83: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxInternalStack.lo `test -f './interpreter/memory/RexxInternalStack.cpp' || echo './'`./interpreter/memory/RexxInternalStack.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxSmartBuffer.lo `test -f './interpreter/memory/RexxSmartBuffer.cpp' || echo './'`./interpreter/memory/RexxSmartBuffer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/RexxInternalStack.cpp -fPIC -DPIC -o .libs/librexx_la-RexxInternalStack.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/RexxSmartBuffer.cpp -fPIC -DPIC -o .libs/librexx_la-RexxSmartBuffer.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/memory/RexxInternalStack.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/memory/RexxSmartBuffer.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/ProtectedObject.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/ProtectedObject.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/ProtectedObject.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/ProtectedObject.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxEnvelope.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxEnvelope.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxEnvelope.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/RexxEnvelope.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxInternalStack.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-UninitDispatcher.lo `test -f './interpreter/memory/UninitDispatcher.cpp' || echo './'`./interpreter/memory/UninitDispatcher.cpp In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxInternalStack.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxInternalStack.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxSmartBuffer.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxSmartBuffer.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/RexxInternalStack.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxSmartBuffer.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/RexxSmartBuffer.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/memory/RexxEnvelope.cpp: In member function 'void RexxEnvelope::flattenReference(void*, size_t, void*)': ./interpreter/memory/RexxEnvelope.cpp:154:59: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] *newThis = (RexxObject *) (newBuffer + newSelf); ^ ./interpreter/memory/RexxEnvelope.cpp:157:53: warning: cast from 'char*' to 'RexxObject**' increases required alignment of target type [-Wcast-align] *(RexxObject **)(newBuffer + referenceOffset) = (RexxObject *)objOffset; ^ ./interpreter/memory/RexxEnvelope.cpp: In member function 'RexxBuffer* RexxEnvelope::pack(RexxObject*)': ./interpreter/memory/RexxEnvelope.cpp:208:71: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] newSelf = (RexxObject *)(this->bufferStart() + this->currentOffset); ^ ./interpreter/memory/RexxEnvelope.cpp:220:78: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] flattenObj = (RexxObject *)(this->bufferStart() + this->currentOffset); ^ ./interpreter/memory/RexxEnvelope.cpp: In member function 'void RexxEnvelope::puff(RexxBuffer*, char*, size_t)': ./interpreter/memory/RexxEnvelope.cpp:257:36: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] puffObject = (RexxObject *)bufferPointer; ^~~~~~~~~~~~~ ./interpreter/memory/RexxEnvelope.cpp:265:117: warning: cast from 'char*' to 'RexxBehaviour*' increases required alignment of target type [-Wcast-align] RexxBehaviour *objBehav = (RexxBehaviour *)(((uintptr_t)puffObject->behaviour) + sourceBuffer->getData()); ^ ./interpreter/memory/RexxEnvelope.cpp:283:24: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxObject *)bufferPointer)->setVirtualFunctions(RexxMemory::virtualFunctionTable[primitiveTypeNum]); ^~~~~~~~~~~~~ In file included from ./interpreter/memory/RexxEnvelope.cpp:46:0: ./interpreter/memory/RexxEnvelope.cpp:299:80: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] OrefSet(this, this->receiver, (RexxObject *)(startPointer + ((RexxObject *)startPointer)->getObjectSize())); ^ ./interpreter/runtime/RexxCore.h:94:93: note: in definition of macro 'OrefSet' #define OrefSet(o,r,v) ((o)->isOldSpace() ? memoryObject.setOref((void *)&(r),(RexxObject *)v) : (RexxObject *)(r=v)) ^ ./interpreter/memory/RexxEnvelope.cpp:299:110: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] OrefSet(this, this->receiver, (RexxObject *)(startPointer + ((RexxObject *)startPointer)->getObjectSize())); ^ ./interpreter/runtime/RexxCore.h:94:93: note: in definition of macro 'OrefSet' #define OrefSet(o,r,v) ((o)->isOldSpace() ? memoryObject.setOref((void *)&(r),(RexxObject *)v) : (RexxObject *)(r=v)) ^ ./interpreter/memory/RexxEnvelope.cpp:299:80: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] OrefSet(this, this->receiver, (RexxObject *)(startPointer + ((RexxObject *)startPointer)->getObjectSize())); ^ ./interpreter/runtime/RexxCore.h:94:115: note: in definition of macro 'OrefSet' #define OrefSet(o,r,v) ((o)->isOldSpace() ? memoryObject.setOref((void *)&(r),(RexxObject *)v) : (RexxObject *)(r=v)) ^ ./interpreter/memory/RexxEnvelope.cpp:299:110: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] OrefSet(this, this->receiver, (RexxObject *)(startPointer + ((RexxObject *)startPointer)->getObjectSize())); ^ ./interpreter/runtime/RexxCore.h:94:115: note: in definition of macro 'OrefSet' #define OrefSet(o,r,v) ((o)->isOldSpace() ? memoryObject.setOref((void *)&(r),(RexxObject *)v) : (RexxObject *)(r=v)) ^ ./interpreter/memory/RexxEnvelope.cpp:313:94: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] sourceBuffer->setObjectSize((char *)startPointer - (char *)sourceBuffer + ((RexxObject *)startPointer)->getObjectSize()); ^~~~~~~~~~~~ ./interpreter/memory/RexxEnvelope.cpp:324:36: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] puffObject = (RexxObject *)bufferPointer; ^~~~~~~~~~~~~ ./interpreter/memory/RexxEnvelope.cpp: In member function 'size_t RexxEnvelope::copyBuffer(RexxObject*)': ./interpreter/memory/RexxEnvelope.cpp:364:90: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] RexxObject *newObj = (RexxObject *) (this->buffer->getBuffer()->getData() + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/UninitDispatcher.cpp -fPIC -DPIC -o .libs/librexx_la-UninitDispatcher.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/memory/UninitDispatcher.cpp:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-Setup.lo `test -f './interpreter/memory/Setup.cpp' || echo './'`./interpreter/memory/Setup.cpp ./interpreter/memory/RexxInternalStack.cpp: In member function 'virtual void RexxInternalStack::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInternalStack* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/memory/RexxInternalStack.cpp:91:8: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->stack[i], envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxSmartBuffer.cpp: In member function 'virtual void RexxSmartBuffer::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSmartBuffer* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/memory/RexxSmartBuffer.cpp:82:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->buffer, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxMemory.lo `test -f './interpreter/memory/RexxMemory.cpp' || echo './'`./interpreter/memory/RexxMemory.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/Setup.cpp -fPIC -DPIC -o .libs/librexx_la-Setup.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-LibraryPackage.lo `test -f './interpreter/package/LibraryPackage.cpp' || echo './'`./interpreter/package/LibraryPackage.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./interpreter/memory/Setup.cpp:48: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/memory/RexxMemory.cpp -fPIC -DPIC -o .libs/librexx_la-RexxMemory.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/memory/RexxMemory.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/package/LibraryPackage.cpp -fPIC -DPIC -o .libs/librexx_la-LibraryPackage.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/package/LibraryPackage.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/UninitDispatcher.cpp:40: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/UninitDispatcher.cpp:40: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/UninitDispatcher.cpp:40: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/UninitDispatcher.cpp:40: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-PackageManager.lo `test -f './interpreter/package/PackageManager.cpp' || echo './'`./interpreter/package/PackageManager.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/Setup.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/Setup.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/Setup.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/Setup.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxMemory.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxMemory.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/package/LibraryPackage.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/package/PackageManager.cpp -fPIC -DPIC -o .libs/librexx_la-PackageManager.o In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/memory/RexxMemory.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/package/LibraryPackage.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/memory/RexxMemory.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/package/LibraryPackage.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/package/LibraryPackage.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/package/PackageManager.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/memory/RexxMemory.cpp: In member function 'void RexxMemory::dumpObject(RexxObject*, FILE*)': ./interpreter/memory/RexxMemory.cpp:262:73: warning: cast from 'char*' to 'void**' increases required alignment of target type [-Wcast-align] ObjEnd = (void **)((char *)objectRef + objectRef->getObjectSize()); ^ ./interpreter/memory/RexxMemory.cpp: In member function 'void RexxMemory::restoreImage()': ./interpreter/memory/RexxMemory.cpp:818:41: warning: cast from 'char*' to 'RexxArray*' increases required alignment of target type [-Wcast-align] RexxArray *saveArray = (RexxArray *)image_buffer; ^~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:831:28: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (((RexxObject *)objectPointer)->isNonPrimitive()) ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:838:83: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] imageBehav = (RexxBehaviour *)(relocation + (uintptr_t)((RexxObject *)objectPointer)->behaviour); ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:840:28: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxObject *)objectPointer)->behaviour = (RexxBehaviour *)imageBehav; ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:847:28: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxObject *)objectPointer)->behaviour = RexxBehaviour::restoreSavedPrimitiveBehaviour(((RexxObject *)objectPointer)->behaviour); ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:847:117: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxObject *)objectPointer)->behaviour = RexxBehaviour::restoreSavedPrimitiveBehaviour(((RexxObject *)objectPointer)->behaviour); ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:848:47: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] primitiveTypeNum = ((RexxObject *)objectPointer)->behaviour->getClassType(); ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:855:24: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxObject *)objectPointer)->setOldSpace(); ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:858:24: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxObject *)objectPointer)->setVirtualFunctions(virtualFunctionTable[primitiveTypeNum]); ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:862:28: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] if (((RexxObject *)objectPointer)->hasReferences()) ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:864:28: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] ((RexxObject *)objectPointer)->liveGeneral(RESTORINGIMAGE); ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp:866:41: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] objectPointer += ((RexxObject *)objectPointer)->getObjectSize(); ^~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.cpp: In member function 'RexxArray* RexxMemory::newObjects(size_t, size_t, size_t)': ./interpreter/memory/RexxMemory.cpp:1236:67: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] largeObject = (RexxObject *)((char *)largeObject + objSize); ^ ./interpreter/memory/RexxMemory.cpp: In member function 'void RexxMemory::saveImageMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.cpp:1497:69: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] bufferReference = (RexxObject *)(image_buffer + image_offset); ^ ./interpreter/memory/RexxMemory.cpp: In member function 'void RexxMemory::orphanCheckMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.cpp:1594:114: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("-->Parent node was marking offset '%u'x \n", (char *)pMarkObject - (char *)markObject); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./interpreter/memory/RexxMemory.cpp: In member function 'void RexxMemory::saveImage()': ./interpreter/memory/RexxMemory.cpp:1748:94: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] RexxObject *copyObject = (RexxObject *)(image_buffer+(uintptr_t)markObject->behaviour); ^ ./interpreter/memory/RexxMemory.cpp:1767:71: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("\n\n Total bytes for this image %d bytes \n", image_offset); ~~~~~~~~~~~~^ ./interpreter/memory/RexxMemory.cpp: In member function 'RexxObject* RexxMemory::gutCheck()': ./interpreter/memory/RexxMemory.cpp:1886:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] index, index->behaviour->getClassType()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./interpreter/memory/RexxMemory.cpp:1897:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] index, index->behaviour->getClassType()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./interpreter/memory/RexxMemory.cpp:1898:88: warning: format '%d' expects argument of type 'int', but argument 2 has type 'wholenumber_t {aka long int}' [-Wformat=] printf("Refcount for object is %d, should be %d.\n\n", count, testcount); ^ ./interpreter/memory/RexxMemory.cpp:1898:88: warning: format '%d' expects argument of type 'int', but argument 3 has type 'wholenumber_t {aka long int}' [-Wformat=] ./interpreter/memory/RexxMemory.cpp:1913:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] index,index->behaviour->getClassType()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./interpreter/memory/RexxMemory.cpp: In member function 'RexxObject* RexxMemory::setOref(void*, RexxObject*)': ./interpreter/memory/RexxMemory.cpp:2034:101: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Naughty object reference type is: %d\n", (index)->behaviour->getClassType()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./interpreter/memory/RexxMemory.cpp: In member function 'RexxObject* RexxMemory::checkSetOref(RexxObject*, RexxObject**, RexxObject*, const char*, int)': ./interpreter/memory/RexxMemory.cpp:2104:83: warning: cast from 'char*' to 'RexxObject**' increases required alignment of target type [-Wcast-align] else if (index >= (RexxObject **)((char *)setter + setter->getObjectSize())) ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ActivityDispatcher.lo `test -f './interpreter/concurrency/ActivityDispatcher.cpp' || echo './'`./interpreter/concurrency/ActivityDispatcher.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/package/PackageManager.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/package/PackageManager.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/package/PackageManager.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/ActivityDispatcher.cpp -fPIC -DPIC -o .libs/librexx_la-ActivityDispatcher.o In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/package/PackageManager.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/ActivityDispatcher.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ActivityManager.lo `test -f './interpreter/concurrency/ActivityManager.cpp' || echo './'`./interpreter/concurrency/ActivityManager.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ActivationFrame.lo `test -f './interpreter/concurrency/ActivationFrame.cpp' || echo './'`./interpreter/concurrency/ActivationFrame.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/ActivityManager.cpp -fPIC -DPIC -o .libs/librexx_la-ActivityManager.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/ActivityManager.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/ActivationFrame.cpp -fPIC -DPIC -o .libs/librexx_la-ActivationFrame.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/ActivationFrame.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-CallbackDispatcher.lo `test -f './interpreter/concurrency/CallbackDispatcher.cpp' || echo './'`./interpreter/concurrency/CallbackDispatcher.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivityDispatcher.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivityDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivityDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/ActivityDispatcher.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/CallbackDispatcher.cpp -fPIC -DPIC -o .libs/librexx_la-CallbackDispatcher.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/CallbackDispatcher.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivityManager.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivityManager.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivityManager.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-TrappingDispatcher.lo `test -f './interpreter/concurrency/TrappingDispatcher.cpp' || echo './'`./interpreter/concurrency/TrappingDispatcher.cpp In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/ActivityManager.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/TrappingDispatcher.cpp -fPIC -DPIC -o .libs/librexx_la-TrappingDispatcher.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivationFrame.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivationFrame.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ActivationFrame.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/TrappingDispatcher.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/ActivationFrame.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/CallbackDispatcher.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/CallbackDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/CallbackDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/CallbackDispatcher.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/concurrency/ActivationFrame.cpp:40:0: ./interpreter/concurrency/ActivationFrame.hpp: In constructor 'InternalActivationFrame::InternalActivationFrame(RexxActivity*, RexxString*, RexxObject*, RexxMethod*, RexxObject**, size_t)': ./interpreter/concurrency/ActivationFrame.hpp:124:17: warning: 'InternalActivationFrame::target' will be initialized after [-Wreorder] RexxObject *target; // method target ^~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:123:17: warning: 'RexxMethod* InternalActivationFrame::frameMethod' [-Wreorder] RexxMethod *frameMethod; // the backing method object ^~~~~~~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:113:12: warning: when initialized here [-Wreorder] inline InternalActivationFrame(RexxActivity *a, RexxString *n, RexxObject *t, RexxMethod *m, RexxObject **args, size_t c) ^~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExitHandler.lo `test -f './interpreter/concurrency/ExitHandler.cpp' || echo './'`./interpreter/concurrency/ExitHandler.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-CommandHandler.lo `test -f './interpreter/concurrency/CommandHandler.cpp' || echo './'`./interpreter/concurrency/CommandHandler.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MessageDispatcher.lo `test -f './interpreter/concurrency/MessageDispatcher.cpp' || echo './'`./interpreter/concurrency/MessageDispatcher.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/TrappingDispatcher.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/TrappingDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/TrappingDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/TrappingDispatcher.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/ExitHandler.cpp -fPIC -DPIC -o .libs/librexx_la-ExitHandler.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/CommandHandler.cpp -fPIC -DPIC -o .libs/librexx_la-CommandHandler.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/ExitHandler.cpp:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/MessageDispatcher.cpp -fPIC -DPIC -o .libs/librexx_la-MessageDispatcher.o In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/concurrency/CommandHandler.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/MessageDispatcher.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxActivity.lo `test -f './interpreter/concurrency/RexxActivity.cpp' || echo './'`./interpreter/concurrency/RexxActivity.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/RexxActivity.cpp -fPIC -DPIC -o .libs/librexx_la-RexxActivity.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/concurrency/RexxActivity.cpp:50: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ExitHandler.cpp:40: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ExitHandler.cpp:40: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/ExitHandler.cpp:40: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/ExitHandler.cpp:40: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/CommandHandler.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/CommandHandler.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/MessageDispatcher.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/CommandHandler.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/MessageDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/CommandHandler.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/MessageDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/MessageDispatcher.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/concurrency/CommandHandler.cpp: In member function 'virtual void ContextCommandHandlerDispatcher::run()': ./interpreter/concurrency/CommandHandler.cpp:206:123: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] result = (RexxObject *)(*handler_address)(&context.threadContext, (RexxStringObject)address, (RexxStringObject)command); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxStartDispatcher.lo `test -f './interpreter/concurrency/RexxStartDispatcher.cpp' || echo './'`./interpreter/concurrency/RexxStartDispatcher.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-TranslateDispatcher.lo `test -f './interpreter/concurrency/TranslateDispatcher.cpp' || echo './'`./interpreter/concurrency/TranslateDispatcher.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-BuiltinFunctions.lo `test -f './interpreter/expression/BuiltinFunctions.cpp' || echo './'`./interpreter/expression/BuiltinFunctions.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/RexxStartDispatcher.cpp -fPIC -DPIC -o .libs/librexx_la-RexxStartDispatcher.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/RexxStartDispatcher.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/RexxActivity.cpp:52: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/concurrency/TranslateDispatcher.cpp -fPIC -DPIC -o .libs/librexx_la-TranslateDispatcher.o In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/RexxActivity.cpp:52: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/RexxActivity.cpp:52: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/RexxActivity.cpp:52: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/concurrency/TranslateDispatcher.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/BuiltinFunctions.cpp -fPIC -DPIC -o .libs/librexx_la-BuiltinFunctions.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/BuiltinFunctions.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/concurrency/RexxActivity.cpp:76:0: ./interpreter/concurrency/ActivationFrame.hpp: In constructor 'InternalActivationFrame::InternalActivationFrame(RexxActivity*, RexxString*, RexxObject*, RexxMethod*, RexxObject**, size_t)': ./interpreter/concurrency/ActivationFrame.hpp:124:17: warning: 'InternalActivationFrame::target' will be initialized after [-Wreorder] RexxObject *target; // method target ^~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:123:17: warning: 'RexxMethod* InternalActivationFrame::frameMethod' [-Wreorder] RexxMethod *frameMethod; // the backing method object ^~~~~~~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:113:12: warning: when initialized here [-Wreorder] inline InternalActivationFrame(RexxActivity *a, RexxString *n, RexxObject *t, RexxMethod *m, RexxObject **args, size_t c) ^~~~~~~~~~~~~~~~~~~~~~~ ./interpreter/concurrency/RexxActivity.cpp: In member function 'RexxDirectory* RexxActivity::createExceptionObject(wholenumber_t, RexxString*, RexxArray*, RexxObject*)': ./interpreter/concurrency/RexxActivity.cpp:840:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'wholenumber_t {aka long int}' [-Wformat=] sprintf(work,"%d.%1d", errcode/1000, errcode - primary); ~~~~~~~~~~~~ ^ ./interpreter/concurrency/RexxActivity.cpp:840:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'wholenumber_t {aka long int}' [-Wformat=] ./interpreter/concurrency/RexxActivity.cpp: In member function 'void RexxActivity::reraiseException(RexxDirectory*)': ./interpreter/concurrency/RexxActivity.cpp:1134:73: warning: format '%d' expects argument of type 'int', but argument 3 has type 'wholenumber_t {aka long int}' [-Wformat=] sprintf(work,"%1d%3.3d", errornumber/1000, errornumber - primary); ~~~~~~~~~~~~~~~~ ^ ./interpreter/concurrency/RexxActivity.cpp:1134:73: warning: format '%d' expects argument of type 'int', but argument 4 has type 'wholenumber_t {aka long int}' [-Wformat=] ./interpreter/concurrency/RexxActivity.cpp: In member function 'bool RexxActivity::callObjectFunctionExit(RexxActivation*, RexxString*, RexxObject*, ProtectedObject&, RexxObject**, size_t)': ./interpreter/concurrency/RexxActivity.cpp:2367:46: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] funcresult = (RexxObject *)exit_parm.rxfnc_retc; ^~~~~~~~~~ ./interpreter/concurrency/RexxActivity.cpp: In member function 'bool RexxActivity::callScriptingExit(RexxActivation*, RexxString*, RexxObject*, ProtectedObject&, RexxObject**, size_t)': ./interpreter/concurrency/RexxActivity.cpp:2428:46: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] funcresult = (RexxObject *)exit_parm.rxfnc_retc; ^~~~~~~~~~ ./interpreter/concurrency/RexxActivity.cpp: In member function 'bool RexxActivity::callNovalueExit(RexxActivation*, RexxString*, RexxObject*&)': ./interpreter/concurrency/RexxActivity.cpp:2738:45: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] value = (RexxObject *)exit_parm.value; ^~~~~ ./interpreter/concurrency/RexxActivity.cpp: In member function 'bool RexxActivity::callValueExit(RexxActivation*, RexxString*, RexxString*, RexxObject*, RexxObject*&)': ./interpreter/concurrency/RexxActivity.cpp:2768:45: warning: cast from 'RexxObjectPtr {aka _RexxObjectPtr*}' to 'RexxObject*' increases required alignment of target type [-Wcast-align] value = (RexxObject *)exit_parm.value; ^~~~~ ./interpreter/concurrency/RexxActivity.cpp: In member function 'RexxObject* RexxActivity::lineOut(RexxString*)': ./interpreter/concurrency/RexxActivity.cpp:2932:31: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("%.*s\n",length, data); /* print it */ ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/RexxStartDispatcher.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/TranslateDispatcher.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/RexxStartDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/TranslateDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/RexxStartDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/concurrency/TranslateDispatcher.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/RexxStartDispatcher.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/concurrency/TranslateDispatcher.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/BuiltinFunctions.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/BuiltinFunctions.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/BuiltinFunctions.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/BuiltinFunctions.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-CommonExternalFunctions.lo `test -f './interpreter/expression/CommonExternalFunctions.cpp' || echo './'`./interpreter/expression/CommonExternalFunctions.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionCompoundVariable.lo `test -f './interpreter/expression/ExpressionCompoundVariable.cpp' || echo './'`./interpreter/expression/ExpressionCompoundVariable.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionDotVariable.lo `test -f './interpreter/expression/ExpressionDotVariable.cpp' || echo './'`./interpreter/expression/ExpressionDotVariable.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/CommonExternalFunctions.cpp -fPIC -DPIC -o .libs/librexx_la-CommonExternalFunctions.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionCompoundVariable.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionCompoundVariable.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionDotVariable.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionDotVariable.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/expression/CommonExternalFunctions.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionCompoundVariable.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionDotVariable.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/expression/BuiltinFunctions.cpp: In function 'RexxObject* builtin_function_DATE(RexxActivation*, size_t, RexxExpressionStack*)': ./interpreter/expression/BuiltinFunctions.cpp:1223:84: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'wholenumber_t {aka long int}' [-Wformat=] sprintf(work, "%u %s %4.4u", day, month_name->getStringData(), year); ^ ./interpreter/expression/BuiltinFunctions.cpp:1223:84: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'wholenumber_t {aka long int}' [-Wformat=] /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionFunction.lo `test -f './interpreter/expression/ExpressionFunction.cpp' || echo './'`./interpreter/expression/ExpressionFunction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/CommonExternalFunctions.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionCompoundVariable.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/CommonExternalFunctions.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionCompoundVariable.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/CommonExternalFunctions.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionCompoundVariable.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionFunction.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionFunction.o In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/CommonExternalFunctions.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionDotVariable.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionCompoundVariable.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionDotVariable.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionDotVariable.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionFunction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionDotVariable.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionMessage.lo `test -f './interpreter/expression/ExpressionMessage.cpp' || echo './'`./interpreter/expression/ExpressionMessage.cpp ./interpreter/expression/ExpressionCompoundVariable.cpp: In member function 'virtual void RexxCompoundVariable::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundVariable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionCompoundVariable.cpp:197:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->stemName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxCompoundVariable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionCompoundVariable.cpp:200:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->tails[i], envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/expression/ExpressionDotVariable.cpp: In member function 'virtual void RexxDotVariable::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxDotVariable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionDotVariable.cpp:84:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variableName, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionMessage.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionMessage.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionMessage.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionOperator.lo `test -f './interpreter/expression/ExpressionOperator.cpp' || echo './'`./interpreter/expression/ExpressionOperator.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionStack.lo `test -f './interpreter/expression/ExpressionStack.cpp' || echo './'`./interpreter/expression/ExpressionStack.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionOperator.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionOperator.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionFunction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionFunction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionFunction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionOperator.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionFunction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionStack.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionStack.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionStack.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/expression/ExpressionFunction.cpp: In member function 'virtual void RexxExpressionFunction::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionFunction* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionFunction.cpp:161:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->functionName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionFunction* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionFunction.cpp:162:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->target, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionFunction* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionFunction.cpp:165:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->arguments[i], envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionMessage.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionMessage.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionMessage.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionMessage.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionStem.lo `test -f './interpreter/expression/ExpressionStem.cpp' || echo './'`./interpreter/expression/ExpressionStem.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionStem.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionStem.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionStem.cpp:46: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionOperator.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionOperator.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionStack.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionOperator.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionStack.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionOperator.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionStack.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionStack.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/expression/ExpressionMessage.cpp: In member function 'virtual void RexxExpressionMessage::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionMessage.cpp:208:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->messageName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionMessage.cpp:209:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->target, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionMessage.cpp:210:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->super, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionMessage.cpp:213:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->arguments[i], envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionVariable.lo `test -f './interpreter/expression/ExpressionVariable.cpp' || echo './'`./interpreter/expression/ExpressionVariable.cpp ./interpreter/expression/ExpressionStack.cpp: In member function 'void RexxExpressionStack::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionStack* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionStack.cpp:91:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->stack[i], envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionVariable.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionVariable.o ./interpreter/expression/ExpressionOperator.cpp: In member function 'virtual void RexxExpressionOperator::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionOperator* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionOperator.cpp:164:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->left_term, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionOperator* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionOperator.cpp:165:4: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->right_term, envelope); ^~~~~~~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionVariable.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-IndirectVariableReference.lo `test -f './interpreter/expression/IndirectVariableReference.cpp' || echo './'`./interpreter/expression/IndirectVariableReference.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExpressionLogical.lo `test -f './interpreter/expression/ExpressionLogical.cpp' || echo './'`./interpreter/expression/ExpressionLogical.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/IndirectVariableReference.cpp -fPIC -DPIC -o .libs/librexx_la-IndirectVariableReference.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionStem.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/IndirectVariableReference.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionStem.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionStem.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionStem.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/expression/ExpressionLogical.cpp -fPIC -DPIC -o .libs/librexx_la-ExpressionLogical.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/expression/ExpressionLogical.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/expression/ExpressionStem.cpp: In member function 'virtual void RexxStemVariable::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxStemVariable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionStem.cpp:90:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->stem, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionVariable.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionVariable.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionVariable.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionVariable.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-AddressInstruction.lo `test -f './interpreter/instructions/AddressInstruction.cpp' || echo './'`./interpreter/instructions/AddressInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/AddressInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-AddressInstruction.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/IndirectVariableReference.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/IndirectVariableReference.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/IndirectVariableReference.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/AddressInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/IndirectVariableReference.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionLogical.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionLogical.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/expression/ExpressionLogical.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/expression/ExpressionLogical.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/expression/ExpressionVariable.cpp: In member function 'virtual void RexxParseVariable::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxParseVariable* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionVariable.cpp:88:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variableName, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-AssignmentInstruction.lo `test -f './interpreter/instructions/AssignmentInstruction.cpp' || echo './'`./interpreter/instructions/AssignmentInstruction.cpp ./interpreter/expression/IndirectVariableReference.cpp: In member function 'virtual void RexxVariableReference::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxVariableReference* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/IndirectVariableReference.cpp:86:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variableObject, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/AssignmentInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-AssignmentInstruction.o ./interpreter/expression/ExpressionLogical.cpp: In member function 'virtual void RexxExpressionLogical::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxExpressionLogical* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/expression/ExpressionLogical.cpp:123:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expressions[i], envelope); ^~~~~~~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/AssignmentInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-CallInstruction.lo `test -f './interpreter/instructions/CallInstruction.cpp' || echo './'`./interpreter/instructions/CallInstruction.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ClassDirective.lo `test -f './interpreter/instructions/ClassDirective.cpp' || echo './'`./interpreter/instructions/ClassDirective.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/CallInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-CallInstruction.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/AddressInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/AddressInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/AddressInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/CallInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/AddressInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ClassDirective.cpp -fPIC -DPIC -o .libs/librexx_la-ClassDirective.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ClassDirective.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/AddressInstruction.cpp: In member function 'virtual void RexxInstructionAddress::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionAddress* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/AddressInstruction.cpp:95:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionAddress* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/AddressInstruction.cpp:96:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expression, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionAddress* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/AddressInstruction.cpp:97:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->environment, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionAddress* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/AddressInstruction.cpp:98:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->command, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/AssignmentInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/AssignmentInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/AssignmentInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-CommandInstruction.lo `test -f './interpreter/instructions/CommandInstruction.cpp' || echo './'`./interpreter/instructions/CommandInstruction.cpp In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/AssignmentInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/CommandInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-CommandInstruction.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/CallInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/CallInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/CommandInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/CallInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/CallInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ClassDirective.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ClassDirective.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ClassDirective.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ClassDirective.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/instructions/AssignmentInstruction.cpp: In member function 'virtual void RexxInstructionAssignment::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionAssignment* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/AssignmentInstruction.cpp:91:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionAssignment* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/AssignmentInstruction.cpp:92:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variable, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionAssignment* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/AssignmentInstruction.cpp:93:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expression, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-DoBlock.lo `test -f './interpreter/instructions/DoBlock.cpp' || echo './'`./interpreter/instructions/DoBlock.cpp ./interpreter/instructions/CallInstruction.cpp: In member function 'virtual void RexxInstructionCall::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionCall* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/CallInstruction.cpp:128:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionCall* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/CallInstruction.cpp:129:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->name, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionCall* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/CallInstruction.cpp:130:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->target, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionCall* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/CallInstruction.cpp:131:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->condition, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionCall* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/CallInstruction.cpp:133:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->arguments[i], envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/DoBlock.cpp -fPIC -DPIC -o .libs/librexx_la-DoBlock.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/DoBlock.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/ClassDirective.cpp: In member function 'virtual void ClassDirective::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ClassDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ClassDirective.cpp:115:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ClassDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ClassDirective.cpp:116:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->publicName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ClassDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ClassDirective.cpp:117:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->idName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ClassDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ClassDirective.cpp:118:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->metaclassName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ClassDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ClassDirective.cpp:119:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->subclassName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ClassDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ClassDirective.cpp:120:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->inheritsClasses, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ClassDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ClassDirective.cpp:121:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->instanceMethods, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'ClassDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ClassDirective.cpp:122:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->classMethods, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-DoInstruction.lo `test -f './interpreter/instructions/DoInstruction.cpp' || echo './'`./interpreter/instructions/DoInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/CommandInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/CommandInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/CommandInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/CommandInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-DropInstruction.lo `test -f './interpreter/instructions/DropInstruction.cpp' || echo './'`./interpreter/instructions/DropInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/DoInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-DoInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/DoInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/DropInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-DropInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/DropInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ElseInstruction.lo `test -f './interpreter/instructions/ElseInstruction.cpp' || echo './'`./interpreter/instructions/ElseInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DoBlock.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DoBlock.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DoBlock.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/DoBlock.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ElseInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ElseInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ElseInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/DoBlock.cpp: In member function 'virtual void RexxDoBlock::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxDoBlock* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoBlock.cpp:89:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->previous, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxDoBlock* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoBlock.cpp:90:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->to, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxDoBlock* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoBlock.cpp:91:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->by, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DoInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DoInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DoInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/DoInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-EndIf.lo `test -f './interpreter/instructions/EndIf.cpp' || echo './'`./interpreter/instructions/EndIf.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DropInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DropInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/DropInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/DropInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/EndIf.cpp -fPIC -DPIC -o .libs/librexx_la-EndIf.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/EndIf.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/DoInstruction.cpp: In member function 'virtual void RexxInstructionDo::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:184:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:185:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->initial, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:186:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->to, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:187:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->by, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:188:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->forcount, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:189:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->control, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:190:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->label, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:191:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->conditional, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDo* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DoInstruction.cpp:192:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->end, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ElseInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ElseInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ElseInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ElseInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/instructions/DropInstruction.cpp: In member function 'virtual void RexxInstructionDrop::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDrop* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DropInstruction.cpp:111:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionDrop* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/DropInstruction.cpp:114:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variables[i], envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-EndInstruction.lo `test -f './interpreter/instructions/EndInstruction.cpp' || echo './'`./interpreter/instructions/EndInstruction.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExitInstruction.lo `test -f './interpreter/instructions/ExitInstruction.cpp' || echo './'`./interpreter/instructions/ExitInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/EndInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-EndInstruction.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ExitInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ExitInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/EndInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ExitInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/EndIf.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/EndIf.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/EndIf.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/EndIf.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/instructions/ElseInstruction.cpp: In member function 'virtual void RexxInstructionElse::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionElse* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ElseInstruction.cpp:110:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionElse* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ElseInstruction.cpp:111:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->parent, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExposeInstruction.lo `test -f './interpreter/instructions/ExposeInstruction.cpp' || echo './'`./interpreter/instructions/ExposeInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ExposeInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ExposeInstruction.o ./interpreter/instructions/EndIf.cpp: In member function 'virtual void RexxInstructionEndIf::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionEndIf* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/EndIf.cpp:112:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionEndIf* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/EndIf.cpp:113:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->else_end, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionEndIf* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/EndIf.cpp:114:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->parent, envelope); ^~~~~~~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ExposeInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ForwardInstruction.lo `test -f './interpreter/instructions/ForwardInstruction.cpp' || echo './'`./interpreter/instructions/ForwardInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/EndInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ExitInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/EndInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ExitInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/EndInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ExitInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ExitInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/EndInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ForwardInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ForwardInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ForwardInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ExposeInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ExposeInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ExposeInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ ./interpreter/instructions/EndInstruction.cpp: In member function 'virtual void RexxInstructionEnd::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionEnd* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/EndInstruction.cpp:87:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionEnd* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/EndInstruction.cpp:88:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->name, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ExposeInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-GuardInstruction.lo `test -f './interpreter/instructions/GuardInstruction.cpp' || echo './'`./interpreter/instructions/GuardInstruction.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-IfInstruction.lo `test -f './interpreter/instructions/IfInstruction.cpp' || echo './'`./interpreter/instructions/IfInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/GuardInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-GuardInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/GuardInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/IfInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-IfInstruction.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ForwardInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ForwardInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ForwardInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ForwardInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/instructions/ExposeInstruction.cpp: In member function 'virtual void RexxInstructionExpose::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionExpose* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ExposeInstruction.cpp:108:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionExpose* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ExposeInstruction.cpp:111:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variables[i], envelope); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/IfInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-InterpretInstruction.lo `test -f './interpreter/instructions/InterpretInstruction.cpp' || echo './'`./interpreter/instructions/InterpretInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/InterpretInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-InterpretInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/InterpretInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/ForwardInstruction.cpp: In member function 'virtual void RexxInstructionForward::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionForward* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ForwardInstruction.cpp:86:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionForward* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ForwardInstruction.cpp:87:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->target, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionForward* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ForwardInstruction.cpp:88:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->message, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionForward* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ForwardInstruction.cpp:89:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->superClass, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionForward* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ForwardInstruction.cpp:90:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->arguments, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionForward* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ForwardInstruction.cpp:91:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->array, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/GuardInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/GuardInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/GuardInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/GuardInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-LabelInstruction.lo `test -f './interpreter/instructions/LabelInstruction.cpp' || echo './'`./interpreter/instructions/LabelInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/IfInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/IfInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/IfInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/IfInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/LabelInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-LabelInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/LabelInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/GuardInstruction.cpp: In member function 'virtual void RexxInstructionGuard::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionGuard* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/GuardInstruction.cpp:209:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionGuard* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/GuardInstruction.cpp:210:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expression, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionGuard* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/GuardInstruction.cpp:213:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variables[i], envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/InterpretInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/InterpretInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/InterpretInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/InterpretInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-LeaveInstruction.lo `test -f './interpreter/instructions/LeaveInstruction.cpp' || echo './'`./interpreter/instructions/LeaveInstruction.cpp ./interpreter/instructions/IfInstruction.cpp: In member function 'virtual void RexxInstructionIf::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionIf* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/IfInstruction.cpp:106:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionIf* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/IfInstruction.cpp:107:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->condition, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionIf* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/IfInstruction.cpp:108:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->else_location, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/LeaveInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-LeaveInstruction.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-LibraryDirective.lo `test -f './interpreter/instructions/LibraryDirective.cpp' || echo './'`./interpreter/instructions/LibraryDirective.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/LeaveInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/LibraryDirective.cpp -fPIC -DPIC -o .libs/librexx_la-LibraryDirective.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LabelInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LabelInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LabelInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/LabelInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/LibraryDirective.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MessageInstruction.lo `test -f './interpreter/instructions/MessageInstruction.cpp' || echo './'`./interpreter/instructions/MessageInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/MessageInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-MessageInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/MessageInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LeaveInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LeaveInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-NopInstruction.lo `test -f './interpreter/instructions/NopInstruction.cpp' || echo './'`./interpreter/instructions/NopInstruction.cpp In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LeaveInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/LeaveInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/NopInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-NopInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/NopInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LibraryDirective.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LibraryDirective.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/LibraryDirective.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/LibraryDirective.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/instructions/LeaveInstruction.cpp: In member function 'virtual void RexxInstructionLeave::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionLeave* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/LeaveInstruction.cpp:88:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionLeave* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/LeaveInstruction.cpp:89:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->name, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-NumericInstruction.lo `test -f './interpreter/instructions/NumericInstruction.cpp' || echo './'`./interpreter/instructions/NumericInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/MessageInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/MessageInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/MessageInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/MessageInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/NumericInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-NumericInstruction.o ./interpreter/instructions/LibraryDirective.cpp: In member function 'virtual void LibraryDirective::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'LibraryDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/LibraryDirective.cpp:95:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'LibraryDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/LibraryDirective.cpp:96:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->name, envelope); ^~~~~~~~~~~~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/NumericInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-OptionsInstruction.lo `test -f './interpreter/instructions/OptionsInstruction.cpp' || echo './'`./interpreter/instructions/OptionsInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/NopInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/NopInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/NopInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/NopInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/OptionsInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-OptionsInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition ./interpreter/instructions/MessageInstruction.cpp: In member function 'virtual void RexxInstructionMessage::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/MessageInstruction.cpp:162:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/MessageInstruction.cpp:163:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->name, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/MessageInstruction.cpp:164:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->target, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/MessageInstruction.cpp:165:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->super, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionMessage* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/MessageInstruction.cpp:168:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->arguments[i], envelope); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/OptionsInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-OtherwiseInstruction.lo `test -f './interpreter/instructions/OtherwiseInstruction.cpp' || echo './'`./interpreter/instructions/OtherwiseInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/OtherwiseInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-OtherwiseInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/OtherwiseInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/NumericInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/NumericInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/NumericInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ParseInstruction.lo `test -f './interpreter/instructions/ParseInstruction.cpp' || echo './'`./interpreter/instructions/ParseInstruction.cpp In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/NumericInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ParseInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ParseInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ParseInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/OptionsInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/OptionsInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/OptionsInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/OptionsInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ParseTarget.lo `test -f './interpreter/instructions/ParseTarget.cpp' || echo './'`./interpreter/instructions/ParseTarget.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/OtherwiseInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/OtherwiseInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/OtherwiseInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/OtherwiseInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ParseTarget.cpp -fPIC -DPIC -o .libs/librexx_la-ParseTarget.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ParseTarget.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ParseTrigger.lo `test -f './interpreter/instructions/ParseTrigger.cpp' || echo './'`./interpreter/instructions/ParseTrigger.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ParseInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ParseTrigger.cpp -fPIC -DPIC -o .libs/librexx_la-ParseTrigger.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ParseTrigger.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ProcedureInstruction.lo `test -f './interpreter/instructions/ProcedureInstruction.cpp' || echo './'`./interpreter/instructions/ProcedureInstruction.cpp ./interpreter/instructions/ParseInstruction.cpp: In member function 'virtual void RexxInstructionParse::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionParse* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ParseInstruction.cpp:216:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionParse* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ParseInstruction.cpp:219:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->triggers[i], envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionParse* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ParseInstruction.cpp:221:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expression, envelope); ^~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ProcedureInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ProcedureInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ProcedureInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-QueueInstruction.lo `test -f './interpreter/instructions/QueueInstruction.cpp' || echo './'`./interpreter/instructions/QueueInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseTarget.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseTarget.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseTarget.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ParseTarget.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/QueueInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-QueueInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/QueueInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseTrigger.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseTrigger.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ParseTrigger.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ParseTrigger.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RaiseInstruction.lo `test -f './interpreter/instructions/RaiseInstruction.cpp' || echo './'`./interpreter/instructions/RaiseInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ProcedureInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/RaiseInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-RaiseInstruction.o ./interpreter/instructions/ParseTrigger.cpp: In member function 'virtual void RexxTrigger::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxTrigger* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ParseTrigger.cpp:280:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->value, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxTrigger* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ParseTrigger.cpp:283:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variables[i], envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ProcedureInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ProcedureInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ProcedureInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/RaiseInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ReplyInstruction.lo `test -f './interpreter/instructions/ReplyInstruction.cpp' || echo './'`./interpreter/instructions/ReplyInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/QueueInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/QueueInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/QueueInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/QueueInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ReplyInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ReplyInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ReplyInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/ProcedureInstruction.cpp: In member function 'virtual void RexxInstructionProcedure::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionProcedure* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ProcedureInstruction.cpp:109:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionProcedure* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ProcedureInstruction.cpp:112:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variables[i], envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RequiresDirective.lo `test -f './interpreter/instructions/RequiresDirective.cpp' || echo './'`./interpreter/instructions/RequiresDirective.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/RequiresDirective.cpp -fPIC -DPIC -o .libs/librexx_la-RequiresDirective.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ReturnInstruction.lo `test -f './interpreter/instructions/ReturnInstruction.cpp' || echo './'`./interpreter/instructions/ReturnInstruction.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RaiseInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/RequiresDirective.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RaiseInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RaiseInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/RaiseInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ReturnInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ReturnInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ReturnInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ReplyInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ReplyInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ReplyInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ReplyInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/instructions/RaiseInstruction.cpp: In member function 'virtual void RexxInstructionRaise::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionRaise* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RaiseInstruction.cpp:143:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionRaise* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RaiseInstruction.cpp:144:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->condition, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionRaise* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RaiseInstruction.cpp:145:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expression, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionRaise* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RaiseInstruction.cpp:146:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->description, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionRaise* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RaiseInstruction.cpp:147:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->result, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionRaise* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RaiseInstruction.cpp:150:9: note: in expansion of macro 'flatten_reference' flatten_reference(this->additional[i], envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxInstruction.lo `test -f './interpreter/instructions/RexxInstruction.cpp' || echo './'`./interpreter/instructions/RexxInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RequiresDirective.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RequiresDirective.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RequiresDirective.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/RexxInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-RexxInstruction.o In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/RequiresDirective.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/RexxInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SayInstruction.lo `test -f './interpreter/instructions/SayInstruction.cpp' || echo './'`./interpreter/instructions/SayInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ReturnInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ReturnInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ReturnInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ReturnInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/SayInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-SayInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition ./interpreter/instructions/RequiresDirective.cpp: In member function 'virtual void RequiresDirective::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RequiresDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RequiresDirective.cpp:95:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RequiresDirective* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RequiresDirective.cpp:96:9: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->name, envelope); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/SayInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SelectInstruction.lo `test -f './interpreter/instructions/SelectInstruction.cpp' || echo './'`./interpreter/instructions/SelectInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/SelectInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-SelectInstruction.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SignalInstruction.lo `test -f './interpreter/instructions/SignalInstruction.cpp' || echo './'`./interpreter/instructions/SignalInstruction.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RexxInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/SelectInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RexxInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/RexxInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/RexxInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/SignalInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-SignalInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/SignalInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SayInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SayInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SayInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ ./interpreter/instructions/RexxInstruction.cpp: In member function 'virtual void RexxInstruction::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstruction* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RexxInstruction.cpp:93:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/instructions/RexxInstruction.cpp: In member function 'virtual void RexxInstructionExpression::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionExpression* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RexxInstruction.cpp:132:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionExpression* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/RexxInstruction.cpp:133:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expression, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/SayInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ThenInstruction.lo `test -f './interpreter/instructions/ThenInstruction.cpp' || echo './'`./interpreter/instructions/ThenInstruction.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/ThenInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-ThenInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/ThenInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SelectInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SelectInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SelectInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/SelectInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-TraceInstruction.lo `test -f './interpreter/instructions/TraceInstruction.cpp' || echo './'`./interpreter/instructions/TraceInstruction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SignalInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SignalInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/SignalInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/SignalInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/TraceInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-TraceInstruction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/TraceInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/SelectInstruction.cpp: In member function 'virtual void RexxInstructionSelect::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSelect* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SelectInstruction.cpp:101:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSelect* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SelectInstruction.cpp:102:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->when_list, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSelect* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SelectInstruction.cpp:103:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->end, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSelect* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SelectInstruction.cpp:104:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->otherwise, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSelect* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SelectInstruction.cpp:105:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->label, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-UseStrictInstruction.lo `test -f './interpreter/instructions/UseStrictInstruction.cpp' || echo './'`./interpreter/instructions/UseStrictInstruction.cpp ./interpreter/instructions/SignalInstruction.cpp: In member function 'virtual void RexxInstructionSignal::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSignal* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SignalInstruction.cpp:99:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSignal* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SignalInstruction.cpp:100:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->target, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSignal* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SignalInstruction.cpp:101:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->name, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSignal* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SignalInstruction.cpp:102:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->condition, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionSignal* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/SignalInstruction.cpp:103:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expression, envelope); ^~~~~~~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ThenInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ThenInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/ThenInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/ThenInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/instructions/UseStrictInstruction.cpp -fPIC -DPIC -o .libs/librexx_la-UseStrictInstruction.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-Clause.lo `test -f './interpreter/parser/Clause.cpp' || echo './'`./interpreter/parser/Clause.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/instructions/UseStrictInstruction.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/parser/Clause.cpp -fPIC -DPIC -o .libs/librexx_la-Clause.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/parser/Clause.cpp:46: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/TraceInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/TraceInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/TraceInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/TraceInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/instructions/ThenInstruction.cpp: In member function 'virtual void RexxInstructionThen::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionThen* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ThenInstruction.cpp:124:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionThen* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/ThenInstruction.cpp:125:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->parent, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-KeywordConstants.lo `test -f './interpreter/parser/KeywordConstants.cpp' || echo './'`./interpreter/parser/KeywordConstants.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/parser/KeywordConstants.cpp -fPIC -DPIC -o .libs/librexx_la-KeywordConstants.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition ./interpreter/instructions/TraceInstruction.cpp: In member function 'virtual void RexxInstructionTrace::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionTrace* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/TraceInstruction.cpp:95:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionTrace* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/TraceInstruction.cpp:96:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->expression, envelope); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/parser/KeywordConstants.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/UseStrictInstruction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/UseStrictInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/instructions/UseStrictInstruction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/instructions/UseStrictInstruction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-InstructionParser.lo `test -f './interpreter/parser/InstructionParser.cpp' || echo './'`./interpreter/parser/InstructionParser.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Clause.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Clause.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Clause.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/parser/Clause.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/parser/InstructionParser.cpp -fPIC -DPIC -o .libs/librexx_la-InstructionParser.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/parser/InstructionParser.cpp:53: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/instructions/UseStrictInstruction.cpp: In member function 'virtual void RexxInstructionUseStrict::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionUseStrict* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/UseStrictInstruction.cpp:131:3: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->nextInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionUseStrict* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/UseStrictInstruction.cpp:134:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variables[i].variable, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxInstructionUseStrict* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/instructions/UseStrictInstruction.cpp:135:7: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variables[i].defaultValue, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/parser/Clause.cpp: In member function 'virtual void RexxClause::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxClause* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/Clause.cpp:90:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->tokens, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-Scanner.lo `test -f './interpreter/parser/Scanner.cpp' || echo './'`./interpreter/parser/Scanner.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SourceFile.lo `test -f './interpreter/parser/SourceFile.cpp' || echo './'`./interpreter/parser/SourceFile.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/KeywordConstants.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/KeywordConstants.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/KeywordConstants.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/parser/KeywordConstants.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/parser/Scanner.cpp -fPIC -DPIC -o .libs/librexx_la-Scanner.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/parser/SourceFile.cpp -fPIC -DPIC -o .libs/librexx_la-SourceFile.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/parser/Scanner.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/parser/SourceFile.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/InstructionParser.cpp:55: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/InstructionParser.cpp:55: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/InstructionParser.cpp:55: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/parser/InstructionParser.cpp:55: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-Token.lo `test -f './interpreter/parser/Token.cpp' || echo './'`./interpreter/parser/Token.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/parser/Token.cpp -fPIC -DPIC -o .libs/librexx_la-Token.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25:0, from ./interpreter/parser/Token.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Scanner.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Scanner.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Scanner.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/parser/Scanner.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/SourceFile.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/SourceFile.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/SourceFile.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/parser/SourceFile.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Token.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Token.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/parser/Token.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/parser/Token.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ErrorMessages.lo `test -f './interpreter/platform/unix/ErrorMessages.cpp' || echo './'`./interpreter/platform/unix/ErrorMessages.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ExternalFunctions.lo `test -f './interpreter/platform/unix/ExternalFunctions.cpp' || echo './'`./interpreter/platform/unix/ExternalFunctions.cpp In file included from ./interpreter/parser/SourceFile.cpp:89:0: ./interpreter/concurrency/ActivationFrame.hpp: In constructor 'InternalActivationFrame::InternalActivationFrame(RexxActivity*, RexxString*, RexxObject*, RexxMethod*, RexxObject**, size_t)': ./interpreter/concurrency/ActivationFrame.hpp:124:17: warning: 'InternalActivationFrame::target' will be initialized after [-Wreorder] RexxObject *target; // method target ^~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:123:17: warning: 'RexxMethod* InternalActivationFrame::frameMethod' [-Wreorder] RexxMethod *frameMethod; // the backing method object ^~~~~~~~~~~ ./interpreter/concurrency/ActivationFrame.hpp:113:12: warning: when initialized here [-Wreorder] inline InternalActivationFrame(RexxActivity *a, RexxString *n, RexxObject *t, RexxMethod *m, RexxObject **args, size_t c) ^~~~~~~~~~~~~~~~~~~~~~~ ./interpreter/parser/SourceFile.cpp: In member function 'void RexxSource::position(size_t, size_t)': ./interpreter/parser/SourceFile.cpp:565:77: warning: cast from 'char*' to 'LINE_DESCRIPTOR* {aka _LINE_DESCRIPTOR*}' increases required alignment of target type [-Wcast-align] descriptors = (LINE_DESCRIPTOR *)(this->sourceIndices->getData()); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/parser/SourceFile.cpp:46: ./interpreter/parser/SourceFile.cpp: In member function 'virtual void RexxSource::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:716:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->sourceArray, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:717:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->parentSource, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:718:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->programName, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:719:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->programDirectory, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:720:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->programExtension, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:721:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->programFile, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:722:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->clause, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:723:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->securityManager, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:724:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->sourceBuffer, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:725:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->sourceIndices, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:726:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->first, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:727:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->last, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:728:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->currentInstruction, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:729:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->savelist, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:730:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->holdstack, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:731:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->variables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:732:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->literals, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:733:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->labels, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:734:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->strings, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:735:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->guard_variables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:736:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->exposed_variables, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:737:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->control, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:738:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->terms, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:739:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->subTerms, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:740:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->operators, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:741:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->calls, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:742:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->routines, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:743:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->public_routines, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:744:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->class_dependencies, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:745:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->requires, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:746:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->libraries, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:747:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->loadedPackages, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:748:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->package, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:749:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->classes, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:750:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->installed_public_classes, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:751:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->installed_classes, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:752:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->merged_public_classes, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:753:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->merged_public_routines, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:754:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->methods, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:755:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->active_class, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxSource* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/SourceFile.cpp:756:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->initCode, envelope); ^~~~~~~~~~~~~~~~~ ./interpreter/parser/SourceFile.cpp: In member function 'RexxString* RexxSource::get(size_t)': ./interpreter/parser/SourceFile.cpp:817:73: warning: cast from 'char*' to 'LINE_DESCRIPTOR* {aka _LINE_DESCRIPTOR*}' increases required alignment of target type [-Wcast-align] descriptors = (LINE_DESCRIPTOR *)(this->sourceIndices->getData()); ^ ./interpreter/parser/SourceFile.cpp: In member function 'RexxString* RexxSource::traceBack(RexxActivation*, SourceLocation&, size_t, bool)': ./interpreter/parser/SourceFile.cpp:956:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(linenumber,"%u", location.getLineNumber()); ~~~~~~~~~~~~~~~~~~~~~~~~^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/ErrorMessages.cpp -fPIC -DPIC -o .libs/librexx_la-ErrorMessages.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/ExternalFunctions.cpp -fPIC -DPIC -o .libs/librexx_la-ExternalFunctions.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from ./interpreter/platform/unix/ErrorMessages.cpp:50: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from ./interpreter/platform/unix/ExternalFunctions.cpp:58: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/parser/Token.cpp: In member function 'virtual void RexxToken::flatten(RexxEnvelope*)': ./interpreter/memory/RexxMemory.hpp:440:83: warning: cast from type 'RexxToken* volatile*' to type 'void*' casts away qualifiers [-Wcast-qual] #define flatten_reference(oref,envel) if (oref) envel->flattenReference((void *)&newThis, newSelf, (void *)&(oref)) ^ ./interpreter/parser/Token.cpp:89:5: note: in expansion of macro 'flatten_reference' flatten_reference(newThis->value, envelope); ^~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-FileSystem.lo `test -f './interpreter/platform/unix/FileSystem.cpp' || echo './'`./interpreter/platform/unix/FileSystem.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/FileSystem.cpp -fPIC -DPIC -o .libs/librexx_la-FileSystem.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/platform/unix/FileSystem.cpp:48: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ErrorMessages.cpp:66: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ErrorMessages.cpp:66: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ErrorMessages.cpp:66: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ExternalFunctions.cpp:69: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/ErrorMessages.cpp:66: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ExternalFunctions.cpp:69: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ExternalFunctions.cpp:69: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/ExternalFunctions.cpp:69: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MemorySupport.lo `test -f './interpreter/platform/unix/MemorySupport.cpp' || echo './'`./interpreter/platform/unix/MemorySupport.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/FileSystem.cpp:48: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/FileSystem.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/FileSystem.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/FileSystem.cpp:48: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-MiscSystem.lo `test -f './interpreter/platform/unix/MiscSystem.cpp' || echo './'`./interpreter/platform/unix/MiscSystem.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/MemorySupport.cpp -fPIC -DPIC -o .libs/librexx_la-MemorySupport.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/platform/unix/MemorySupport.cpp:46: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ./interpreter/platform/unix/ExternalFunctions.cpp: In static member function 'static RexxObject* SystemInterpreter::buildEnvlist()': ./interpreter/platform/unix/ExternalFunctions.cpp:469:17: warning: cast from 'char*' to 'ENVENTRY* {aka _ENVENTRY*}' increases required alignment of target type [-Wcast-align] ((ENVENTRY*)New)->size = size; /* first write the size */ ^~~ ./interpreter/platform/unix/ExternalFunctions.cpp: In static member function 'static void SystemInterpreter::restoreEnvironment(void*)': ./interpreter/platform/unix/ExternalFunctions.cpp:523:24: warning: cast from 'char*' to 'ENVENTRY* {aka _ENVENTRY*}' increases required alignment of target type [-Wcast-align] size = ((ENVENTRY*)current)->size; /* first read out the size */ ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/MiscSystem.cpp -fPIC -DPIC -o .libs/librexx_la-MiscSystem.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/platform/unix/MiscSystem.cpp:54: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxMain.lo `test -f './interpreter/platform/unix/RexxMain.cpp' || echo './'`./interpreter/platform/unix/RexxMain.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SysActivity.lo `test -f './interpreter/platform/unix/SysActivity.cpp' || echo './'`./interpreter/platform/unix/SysActivity.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/RexxMain.cpp -fPIC -DPIC -o .libs/librexx_la-RexxMain.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./interpreter/platform/unix/RexxMain.cpp:48: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/SysActivity.cpp -fPIC -DPIC -o .libs/librexx_la-SysActivity.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/platform/unix/SysActivity.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/MemorySupport.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/MemorySupport.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/MemorySupport.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/MemorySupport.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ ./interpreter/platform/unix/MemorySupport.cpp: In static member function 'static void* MemorySegmentPool::operator new(size_t, size_t)': ./interpreter/platform/unix/MemorySupport.cpp:142:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ./interpreter/platform/unix/MemorySupport.cpp:146:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' tmpPtr = calloc(poolSize,1); ^~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/MiscSystem.cpp:54: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/MiscSystem.cpp:54: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/MiscSystem.cpp:54: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/MiscSystem.cpp:54: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SysFileSystem.lo `test -f './interpreter/platform/unix/SysFileSystem.cpp' || echo './'`./interpreter/platform/unix/SysFileSystem.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/RexxMain.cpp:57: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/RexxMain.cpp:57: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/RexxMain.cpp:57: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/RexxMain.cpp:57: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/SysFileSystem.cpp -fPIC -DPIC -o .libs/librexx_la-SysFileSystem.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/platform/unix/SysFileSystem.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SysActivity.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SysActivity.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SysActivity.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/SysActivity.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SysInterpreterInstance.lo `test -f './interpreter/platform/unix/SysInterpreterInstance.cpp' || echo './'`./interpreter/platform/unix/SysInterpreterInstance.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SystemCommands.lo `test -f './interpreter/platform/unix/SystemCommands.cpp' || echo './'`./interpreter/platform/unix/SystemCommands.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/SysInterpreterInstance.cpp -fPIC -DPIC -o .libs/librexx_la-SysInterpreterInstance.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SystemInitialization.lo `test -f './interpreter/platform/unix/SystemInitialization.cpp' || echo './'`./interpreter/platform/unix/SystemInitialization.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/platform/unix/SysInterpreterInstance.cpp:43: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/SystemCommands.cpp -fPIC -DPIC -o .libs/librexx_la-SystemCommands.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./interpreter/platform/unix/SystemCommands.cpp:55: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/SystemInitialization.cpp -fPIC -DPIC -o .libs/librexx_la-SystemInitialization.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/platform/unix/SystemInitialization.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SysFileSystem.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SysFileSystem.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SysFileSystem.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/SysFileSystem.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SystemInterpreter.lo `test -f './interpreter/platform/unix/SystemInterpreter.cpp' || echo './'`./interpreter/platform/unix/SystemInterpreter.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/platform/unix/SysInterpreterInstance.cpp:43: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/platform/unix/SysInterpreterInstance.cpp:43: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/platform/unix/SysInterpreterInstance.cpp:43: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/SystemInterpreter.cpp -fPIC -DPIC -o .libs/librexx_la-SystemInterpreter.o In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/platform/unix/SysInterpreterInstance.cpp:43: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from ./interpreter/platform/unix/SystemInterpreter.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemInitialization.cpp:39: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemInitialization.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemCommands.cpp:60: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemInitialization.cpp:39: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/SystemInitialization.cpp:39: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemCommands.cpp:60: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemCommands.cpp:60: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/SystemCommands.cpp:60: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-TimeSupport.lo `test -f './interpreter/platform/unix/TimeSupport.cpp' || echo './'`./interpreter/platform/unix/TimeSupport.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-UseridFunction.lo `test -f './interpreter/platform/unix/UseridFunction.cpp' || echo './'`./interpreter/platform/unix/UseridFunction.cpp ./interpreter/platform/unix/SystemCommands.cpp: In function 'bool sys_process_export(RexxExitContext*, const char*, _RexxObjectPtr*&, int)': ./interpreter/platform/unix/SystemCommands.cpp:113:18: warning: variable 'l' set but not used [-Wunused-but-set-variable] size_t i,j,k,l,iLength, copyval; ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/TimeSupport.cpp -fPIC -DPIC -o .libs/librexx_la-TimeSupport.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/UseridFunction.cpp -fPIC -DPIC -o .libs/librexx_la-UseridFunction.o In file included from /usr/include/pthread.h:21:0, from ./interpreter/platform/unix/TimeSupport.cpp:42: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/pwd.h:25:0, from ./interpreter/platform/unix/UseridFunction.cpp:43: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-ValueFunction.lo `test -f './interpreter/platform/unix/ValueFunction.cpp' || echo './'`./interpreter/platform/unix/ValueFunction.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemInterpreter.cpp:51: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemInterpreter.cpp:51: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/SystemInterpreter.cpp:51: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/SystemInterpreter.cpp:51: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/platform/unix/ValueFunction.cpp -fPIC -DPIC -o .libs/librexx_la-ValueFunction.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/platform/unix/ValueFunction.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-Utilities.lo `test -f './common/Utilities.cpp' || echo './'`./common/Utilities.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/Utilities.cpp -fPIC -DPIC -o .libs/librexx_la-Utilities.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./common/Utilities.cpp:46: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/TimeSupport.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/TimeSupport.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/TimeSupport.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/TimeSupport.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/UseridFunction.cpp:50: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/UseridFunction.cpp:50: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/UseridFunction.cpp:50: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/UseridFunction.cpp:50: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SysFile.lo `test -f './common/platform/unix/SysFile.cpp' || echo './'`./common/platform/unix/SysFile.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/platform/unix/SysFile.cpp -fPIC -DPIC -o .libs/librexx_la-SysFile.o In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ValueFunction.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ValueFunction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./common/platform/unix/SysFile.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/platform/unix/ValueFunction.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/platform/unix/ValueFunction.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SysLibrary.lo `test -f './common/platform/unix/SysLibrary.cpp' || echo './'`./common/platform/unix/SysLibrary.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SysSemaphore.lo `test -f './common/platform/unix/SysSemaphore.cpp' || echo './'`./common/platform/unix/SysSemaphore.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/platform/unix/SysLibrary.cpp -fPIC -DPIC -o .libs/librexx_la-SysLibrary.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/platform/unix/SysSemaphore.cpp -fPIC -DPIC -o .libs/librexx_la-SysSemaphore.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./common/platform/unix/SysLibrary.hpp:48, from ./common/platform/unix/SysLibrary.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition ./common/platform/unix/SysFile.cpp: In member function 'bool SysFile::setPosition(int64_t, int64_t&)': ./common/platform/unix/SysFile.cpp:872:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (location >= (filePointer - bufferedInput) && location < filePointer) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:21:0, from ./common/platform/unix/SysSemaphore.cpp:50: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-SysThread.lo `test -f './common/platform/unix/SysThread.cpp' || echo './'`./common/platform/unix/SysThread.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-GlobalData.lo `test -f './interpreter/runtime/GlobalData.cpp' || echo './'`./interpreter/runtime/GlobalData.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/platform/unix/SysThread.cpp -fPIC -DPIC -o .libs/librexx_la-SysThread.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/pthread.h:21:0, from ./common/platform/unix/SysThread.hpp:52, from ./common/platform/unix/SysThread.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/runtime/GlobalData.cpp -fPIC -DPIC -o .libs/librexx_la-GlobalData.o ./common/platform/unix/SysSemaphore.cpp: In member function 'void SysSemaphore::post()': ./common/platform/unix/SysSemaphore.cpp:166:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ ./common/platform/unix/SysSemaphore.cpp: In member function 'void SysSemaphore::wait()': ./common/platform/unix/SysSemaphore.cpp:176:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-GlobalNames.lo `test -f './interpreter/runtime/GlobalNames.cpp' || echo './'`./interpreter/runtime/GlobalNames.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/GlobalData.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-InternalPackage.lo `test -f './interpreter/runtime/InternalPackage.cpp' || echo './'`./interpreter/runtime/InternalPackage.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/runtime/GlobalNames.cpp -fPIC -DPIC -o .libs/librexx_la-GlobalNames.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/runtime/InternalPackage.cpp -fPIC -DPIC -o .libs/librexx_la-InternalPackage.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/GlobalNames.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-Interpreter.lo `test -f './interpreter/runtime/Interpreter.cpp' || echo './'`./interpreter/runtime/Interpreter.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/InternalPackage.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/runtime/Interpreter.cpp -fPIC -DPIC -o .libs/librexx_la-Interpreter.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/Interpreter.hpp:52, from ./interpreter/runtime/Interpreter.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/GlobalData.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/GlobalData.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/GlobalData.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/GlobalData.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/GlobalNames.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/GlobalNames.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/GlobalNames.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/GlobalNames.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InternalPackage.cpp:45: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InternalPackage.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InternalPackage.cpp:45: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/InternalPackage.cpp:45: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-InterpreterInstance.lo `test -f './interpreter/runtime/InterpreterInstance.cpp' || echo './'`./interpreter/runtime/InterpreterInstance.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/runtime/InterpreterInstance.cpp -fPIC -DPIC -o .libs/librexx_la-InterpreterInstance.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/runtime/InterpreterInstance.cpp:43: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Interpreter.hpp:52, from ./interpreter/runtime/Interpreter.cpp:49: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Interpreter.hpp:52, from ./interpreter/runtime/Interpreter.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Interpreter.hpp:52, from ./interpreter/runtime/Interpreter.cpp:49: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/Interpreter.hpp:52, from ./interpreter/runtime/Interpreter.cpp:49: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-Numerics.lo `test -f './interpreter/runtime/Numerics.cpp' || echo './'`./interpreter/runtime/Numerics.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-RexxMisc.lo `test -f './interpreter/runtime/RexxMisc.cpp' || echo './'`./interpreter/runtime/RexxMisc.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/runtime/Numerics.cpp -fPIC -DPIC -o .libs/librexx_la-Numerics.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/Numerics.cpp:46: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/runtime/RexxMisc.cpp -fPIC -DPIC -o .libs/librexx_la-RexxMisc.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/RexxMisc.cpp:48: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-Version.lo `test -f './interpreter/runtime/Version.cpp' || echo './'`./interpreter/runtime/Version.cpp In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/runtime/InterpreterInstance.cpp:43: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/runtime/InterpreterInstance.cpp:43: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/runtime/InterpreterInstance.cpp:43: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/InterpreterInstance.hpp:46, from ./interpreter/runtime/InterpreterInstance.cpp:43: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/runtime/Version.cpp -fPIC -DPIC -o .libs/librexx_la-Version.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/runtime/RexxCore.h:50, from ./interpreter/runtime/Version.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Numerics.cpp:46: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Numerics.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Numerics.cpp:46: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/Numerics.cpp:46: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/RexxMisc.cpp:48: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/RexxMisc.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/RexxMisc.cpp:48: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/RexxMisc.cpp:48: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Version.cpp:44: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Version.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/runtime/Version.cpp:44: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StreamCommandParser.lo `test -f './interpreter/streamLibrary/StreamCommandParser.cpp' || echo './'`./interpreter/streamLibrary/StreamCommandParser.cpp In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/runtime/Version.cpp:44: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-StreamNative.lo `test -f './interpreter/streamLibrary/StreamNative.cpp' || echo './'`./interpreter/streamLibrary/StreamNative.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexx_la-FileNative.lo `test -f './interpreter/streamLibrary/FileNative.cpp' || echo './'`./interpreter/streamLibrary/FileNative.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/streamLibrary/StreamCommandParser.cpp -fPIC -DPIC -o .libs/librexx_la-StreamCommandParser.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from ./interpreter/streamLibrary/StreamCommandParser.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/streamLibrary/StreamNative.cpp -fPIC -DPIC -o .libs/librexx_la-StreamNative.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./interpreter/streamLibrary/FileNative.cpp -fPIC -DPIC -o .libs/librexx_la-FileNative.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/streamLibrary/StreamNative.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./api/oorexxapi.h:47, from ./interpreter/streamLibrary/FileNative.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-ClientMessage.lo `test -f './rexxapi/client/ClientMessage.cpp' || echo './'`./rexxapi/client/ClientMessage.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/ClientMessage.cpp -fPIC -DPIC -o .libs/librexxapi_la-ClientMessage.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/client/ClientMessage.hpp:42, from ./rexxapi/client/ClientMessage.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./interpreter/memory/MemorySegment.hpp:49:0, from ./interpreter/memory/RexxMemory.hpp:167, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/streamLibrary/StreamCommandParser.cpp:47: ./interpreter/memory/DeadObject.hpp: In member function 'DeadObject* DeadObject::end()': ./interpreter/memory/DeadObject.hpp:116:90: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *end() { return (DeadObject *)(((char *)this) + this->getObjectSize()); } ^ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/streamLibrary/StreamCommandParser.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'DeadObject* MemorySegment::firstObject()': ./interpreter/memory/MemorySegment.hpp:197:60: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] inline DeadObject *firstObject() { return (DeadObject *)segmentStart; } ^~~~~~~~~~~~ In file included from ./interpreter/memory/RexxMemory.hpp:167:0, from ./interpreter/runtime/RexxCore.h:238, from ./interpreter/streamLibrary/StreamCommandParser.cpp:47: ./interpreter/memory/MemorySegment.hpp: In member function 'RexxObject* NormalSegmentSet::splitNormalDeadObject(DeadObject*, size_t, size_t)': ./interpreter/memory/MemorySegment.hpp:516:85: warning: cast from 'char*' to 'DeadObject*' increases required alignment of target type [-Wcast-align] DeadObject *largeObject = (DeadObject *)(((char *)object) + allocationLength); ^ In file included from ./interpreter/runtime/RexxCore.h:238:0, from ./interpreter/streamLibrary/StreamCommandParser.cpp:47: ./interpreter/memory/RexxMemory.hpp: In member function 'void RexxMemory::restoreObjectMark(RexxObject*, RexxObject**)': ./interpreter/memory/RexxMemory.hpp:347:65: warning: cast from 'char*' to 'RexxObject*' increases required alignment of target type [-Wcast-align] markObject = (RexxObject *)((char *)markObject + objOffset); ^ In file included from ./rexxapi/client/ClientMessage.hpp:43:0, from ./rexxapi/client/ClientMessage.cpp:39: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-LocalAPIContext.lo `test -f './rexxapi/client/LocalAPIContext.cpp' || echo './'`./rexxapi/client/LocalAPIContext.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/LocalAPIContext.cpp -fPIC -DPIC -o .libs/librexxapi_la-LocalAPIContext.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/common/RegistrationTable.hpp:43, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalAPIManager.hpp:42, from ./rexxapi/client/LocalAPIContext.hpp:42, from ./rexxapi/client/LocalAPIContext.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-LocalAPIManager.lo `test -f './rexxapi/client/LocalAPIManager.cpp' || echo './'`./rexxapi/client/LocalAPIManager.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-LocalMacroSpaceManager.lo `test -f './rexxapi/client/LocalMacroSpaceManager.cpp' || echo './'`./rexxapi/client/LocalMacroSpaceManager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/LocalAPIManager.cpp -fPIC -DPIC -o .libs/librexxapi_la-LocalAPIManager.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/common/RegistrationTable.hpp:43, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalAPIManager.hpp:42, from ./rexxapi/client/LocalAPIManager.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./rexxapi/common/RegistrationTable.hpp:44:0, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalAPIManager.hpp:42, from ./rexxapi/client/LocalAPIContext.hpp:42, from ./rexxapi/client/LocalAPIContext.cpp:39: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/LocalMacroSpaceManager.cpp -fPIC -DPIC -o .libs/librexxapi_la-LocalMacroSpaceManager.o ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-LocalQueueManager.lo `test -f './rexxapi/client/LocalQueueManager.cpp' || echo './'`./rexxapi/client/LocalQueueManager.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/client/LocalAPISubsystem.hpp:42, from ./rexxapi/client/LocalMacroSpaceManager.hpp:42, from ./rexxapi/client/LocalMacroSpaceManager.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-LocalRegistrationManager.lo `test -f './rexxapi/client/LocalRegistrationManager.cpp' || echo './'`./rexxapi/client/LocalRegistrationManager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/LocalQueueManager.cpp -fPIC -DPIC -o .libs/librexxapi_la-LocalQueueManager.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ./rexxapi/common/RegistrationTable.hpp:44:0, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalAPIManager.hpp:42, from ./rexxapi/client/LocalAPIManager.cpp:39: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/client/LocalAPISubsystem.hpp:42, from ./rexxapi/client/LocalQueueManager.hpp:42, from ./rexxapi/client/LocalQueueManager.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/LocalRegistrationManager.cpp -fPIC -DPIC -o .libs/librexxapi_la-LocalRegistrationManager.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/common/RegistrationTable.hpp:43, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalRegistrationManager.cpp:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./rexxapi/client/LocalMacroSpaceManager.hpp:43:0, from ./rexxapi/client/LocalMacroSpaceManager.cpp:39: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-MacroSpaceApi.lo `test -f './rexxapi/client/MacroSpaceApi.cpp' || echo './'`./rexxapi/client/MacroSpaceApi.cpp In file included from ./rexxapi/client/LocalQueueManager.hpp:45:0, from ./rexxapi/client/LocalQueueManager.cpp:39: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/MacroSpaceApi.cpp -fPIC -DPIC -o .libs/librexxapi_la-MacroSpaceApi.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-QueuesAPI.lo `test -f './rexxapi/client/QueuesAPI.cpp' || echo './'`./rexxapi/client/QueuesAPI.cpp ./rexxapi/client/LocalQueueManager.cpp: In member function 'RexxReturnCode LocalQueueManager::addToNamedQueue(const char*, CONSTRXSTRING&, size_t)': ./rexxapi/client/LocalQueueManager.cpp:393:41: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] message.setMessageData((void *)data.strptr, data.strlength); ^~~~~~ ./rexxapi/client/LocalQueueManager.cpp: In member function 'RexxReturnCode LocalQueueManager::addToSessionQueue(CONSTRXSTRING&, size_t)': ./rexxapi/client/LocalQueueManager.cpp:416:41: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] message.setMessageData((void *)data.strptr, data.strlength); ^~~~~~ In file included from ./rexxapi/common/RegistrationTable.hpp:44:0, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalRegistrationManager.cpp:40: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ ./rexxapi/client/LocalQueueManager.cpp: In member function 'virtual RexxReturnCode LocalQueueManager::processServiceException(ServiceException*)': ./rexxapi/client/LocalQueueManager.cpp:500:9: warning: case value '26' not in enumerated type 'ErrorCode' [-Wswitch] case QUEUE_DOES_NOT_EXIST: ^~~~ ./rexxapi/client/LocalQueueManager.cpp:503:9: warning: case value '27' not in enumerated type 'ErrorCode' [-Wswitch] case QUEUE_IN_USE: ^~~~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/client/MacroSpaceApi.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./rexxapi/client/LocalRegistrationManager.cpp:40:0: ./rexxapi/client/LocalRegistrationManager.hpp: In constructor 'LocalRegistrationManager::LocalRegistrationManager()': ./rexxapi/client/LocalRegistrationManager.hpp:75:23: warning: 'LocalRegistrationManager::locked' will be initialized after [-Wreorder] bool locked; // indicates we've locked the library against unloading ^~~~~~ ./rexxapi/client/LocalRegistrationManager.cpp:49:89: warning: base 'LocalAPISubsystem' [-Wreorder] LocalRegistrationManager::LocalRegistrationManager() : locked(false), LocalAPISubsystem() ^ ./rexxapi/client/LocalRegistrationManager.cpp:49:1: warning: when initialized here [-Wreorder] LocalRegistrationManager::LocalRegistrationManager() : locked(false), LocalAPISubsystem() ^~~~~~~~~~~~~~~~~~~~~~~~ ./rexxapi/client/LocalRegistrationManager.cpp: In member function 'virtual RexxReturnCode LocalRegistrationManager::processServiceException(ServiceException*)': ./rexxapi/client/LocalRegistrationManager.cpp:359:9: warning: case value '32' not in enumerated type 'ErrorCode' [-Wswitch] case CALLBACK_NOT_FOUND: ^~~~ ./rexxapi/client/LocalRegistrationManager.cpp:362:9: warning: case value '33' not in enumerated type 'ErrorCode' [-Wswitch] case DROP_NOT_AUTHORIZED: ^~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-RegistrationAPI.lo `test -f './rexxapi/client/RegistrationAPI.cpp' || echo './'`./rexxapi/client/RegistrationAPI.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/QueuesAPI.cpp -fPIC -DPIC -o .libs/librexxapi_la-QueuesAPI.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/client/QueuesAPI.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysLegacyAPI.lo `test -f './rexxapi/client/platform/unix/SysLegacyAPI.cpp' || echo './'`./rexxapi/client/platform/unix/SysLegacyAPI.cpp In file included from ./rexxapi/common/RegistrationTable.hpp:44:0, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalAPIManager.hpp:42, from ./rexxapi/client/MacroSpaceApi.cpp:40: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/RegistrationAPI.cpp -fPIC -DPIC -o .libs/librexxapi_la-RegistrationAPI.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/client/RegistrationAPI.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/platform/unix/SysLegacyAPI.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysLegacyAPI.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/client/platform/unix/SysLegacyAPI.cpp:43: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./rexxapi/common/RegistrationTable.hpp:44:0, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalAPIManager.hpp:42, from ./rexxapi/client/QueuesAPI.cpp:40: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysLocalAPIManager.lo `test -f './rexxapi/client/platform/unix/SysLocalAPIManager.cpp' || echo './'`./rexxapi/client/platform/unix/SysLocalAPIManager.cpp In file included from ./rexxapi/client/QueuesAPI.cpp:43:0: ./rexxapi/client/QueuesAPI.cpp: In function 'RexxReturnCode RexxCreateSessionQueue()': ./rexxapi/client/RexxAPI.h:53:26: warning: unused variable 'lam' [-Wunused-variable] LocalAPIManager *lam = context.getAPIManager(); \ ^ ./rexxapi/client/QueuesAPI.cpp:369:5: note: in expansion of macro 'ENTER_REXX_API' ENTER_REXX_API(QueueManager) ^~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/client/platform/unix/SysLocalAPIManager.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysLocalAPIManager.o In file included from ./rexxapi/common/RegistrationTable.hpp:44:0, from ./rexxapi/client/LocalRegistrationManager.hpp:42, from ./rexxapi/client/LocalAPIManager.hpp:42, from ./rexxapi/client/RegistrationAPI.cpp:40: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-RegistrationTable.lo `test -f './rexxapi/common/RegistrationTable.cpp' || echo './'`./rexxapi/common/RegistrationTable.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/client/LocalAPISubsystem.hpp:42, from ./rexxapi/client/LocalQueueManager.hpp:42, from ./rexxapi/client/platform/unix/SysLocalAPIManager.hpp:42, from ./rexxapi/client/platform/unix/SysLocalAPIManager.cpp:43: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-ServiceMessage.lo `test -f './rexxapi/common/ServiceMessage.cpp' || echo './'`./rexxapi/common/ServiceMessage.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/common/RegistrationTable.cpp -fPIC -DPIC -o .libs/librexxapi_la-RegistrationTable.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/common/RegistrationTable.hpp:43, from ./rexxapi/common/RegistrationTable.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/common/ServiceMessage.cpp -fPIC -DPIC -o .libs/librexxapi_la-ServiceMessage.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysAPIManager.lo `test -f './rexxapi/common/platform/unix/SysAPIManager.cpp' || echo './'`./rexxapi/common/platform/unix/SysAPIManager.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/common/ServiceMessage.hpp:42, from ./rexxapi/common/ServiceMessage.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./rexxapi/client/LocalQueueManager.hpp:45:0, from ./rexxapi/client/platform/unix/SysLocalAPIManager.hpp:42, from ./rexxapi/client/platform/unix/SysLocalAPIManager.cpp:43: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ ./rexxapi/client/platform/unix/SysLocalAPIManager.cpp: In static member function 'static void SysLocalAPIManager::startServerProcess()': ./rexxapi/client/platform/unix/SysLocalAPIManager.cpp:81:32: warning: null argument where non-null required (argument 2) [-Wnonnull] if (execvp(apiExeName, NULL) == -1) { ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/common/platform/unix/SysAPIManager.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysAPIManager.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysCSStream.lo `test -f './rexxapi/common/platform/unix/SysCSStream.cpp' || echo './'`./rexxapi/common/platform/unix/SysCSStream.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./rexxapi/common/platform/unix/SysAPIManager.hpp:42, from ./rexxapi/common/platform/unix/SysAPIManager.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from ./rexxapi/common/RegistrationTable.hpp:44:0, from ./rexxapi/common/RegistrationTable.cpp:39: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ ./rexxapi/common/RegistrationTable.cpp: In member function 'RegistrationData* RegistrationTable::locate(RegistrationData*, const char*)': ./rexxapi/common/RegistrationTable.cpp:539:23: warning: variable 'previous' set but not used [-Wunused-but-set-variable] RegistrationData *previous = NULL; ^~~~~~~~ In file included from ./rexxapi/common/ServiceMessage.cpp:39:0: ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::setUserData(const char*)': ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[0] = ((uintptr_t*)userPointer)[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:248:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from type 'const char*' to type 'uintptr_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] userData[1] = ((uintptr_t*)userPointer)[1]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:249:40: warning: cast from 'const char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ./rexxapi/common/ServiceMessage.hpp: In member function 'void ServiceRegistrationData::retrieveUserData(char*)': ./rexxapi/common/ServiceMessage.hpp:264:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[0] = userData[0]; ^~~~~~~~~~~ ./rexxapi/common/ServiceMessage.hpp:265:26: warning: cast from 'char*' to 'uintptr_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] ((uintptr_t*)userPointer)[1] = userData[1]; ^~~~~~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysProcess.lo `test -f './rexxapi/common/platform/unix/SysProcess.cpp' || echo './'`./rexxapi/common/platform/unix/SysProcess.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/common/platform/unix/SysCSStream.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysCSStream.o /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-Utilities.lo `test -f './common/Utilities.cpp' || echo './'`./common/Utilities.cpp :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./rexxapi/common/platform/unix/SysCSStream.cpp:42: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysSemaphore.lo `test -f './common/platform/unix/SysSemaphore.cpp' || echo './'`./common/platform/unix/SysSemaphore.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./rexxapi/common/platform/unix/SysProcess.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysProcess.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/Utilities.cpp -fPIC -DPIC -o .libs/librexxapi_la-Utilities.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/pwd.h:25:0, from ./rexxapi/common/platform/unix/SysProcess.cpp:50: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./common/Utilities.cpp:46: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/platform/unix/SysSemaphore.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysSemaphore.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/pthread.h:21:0, from ./common/platform/unix/SysSemaphore.cpp:50: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysLibrary.lo `test -f './common/platform/unix/SysLibrary.cpp' || echo './'`./common/platform/unix/SysLibrary.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysFile.lo `test -f './common/platform/unix/SysFile.cpp' || echo './'`./common/platform/unix/SysFile.cpp /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxapi_la-SysThread.lo `test -f './common/platform/unix/SysThread.cpp' || echo './'`./common/platform/unix/SysThread.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/platform/unix/SysFile.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysFile.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/platform/unix/SysLibrary.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysLibrary.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./common/platform/unix/SysThread.cpp -fPIC -DPIC -o .libs/librexxapi_la-SysThread.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition ./common/platform/unix/SysSemaphore.cpp: In member function 'void SysSemaphore::post()': ./common/platform/unix/SysSemaphore.cpp:166:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ ./common/platform/unix/SysSemaphore.cpp: In member function 'void SysSemaphore::wait()': ./common/platform/unix/SysSemaphore.cpp:176:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ In file included from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from ./api/platform/unix/rexxapitypes.h:45, from ./api/rexx.h:65, from ./common/platform/unix/SysLibrary.hpp:48, from ./common/platform/unix/SysLibrary.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ./common/platform/unix/SysFile.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/pthread.h:21:0, from ./common/platform/unix/SysThread.hpp:52, from ./common/platform/unix/SysThread.cpp:49: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./interpreter/messages -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c -o librexxutil_la-rexxutil.lo `test -f './extensions/rexxutil/platform/unix/rexxutil.cpp' || echo './'`./extensions/rexxutil/platform/unix/rexxutil.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./interpreter/messages -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -c ./extensions/rexxutil/platform/unix/rexxutil.cpp -fPIC -DPIC -o .libs/librexxutil_la-rexxutil.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/locale.h:25:0, from ./extensions/rexxutil/platform/unix/rexxutil.cpp:154: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ gencat rexx.cat ./interpreter/messages/gencat.inp cp ./extensions/rxregexp/rxregexp.cls ./ ./common/platform/unix/SysFile.cpp: In member function 'bool SysFile::setPosition(int64_t, int64_t&)': ./common/platform/unix/SysFile.cpp:872:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (location >= (filePointer - bufferedInput) && location < filePointer) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cp ./extensions/rxftp/rxftp.cls ./ cp ./extensions/csvStream/csvStream.cls ./ cp ./extensions/rxsock/socket.cls ./ cp ./extensions/rxsock/streamsocket.cls ./ sh ./xsl.sh interpreter/messages/errnumsrexxc.xml ./interpreter/messages/rexxmsg.xml ./interpreter/messages/errnumsrexxc.xsl sh ./xsl.sh interpreter/messages/errnumsrxqueue.xml ./interpreter/messages/rexxmsg.xml ./interpreter/messages/errnumsrxqueue.xsl sh ./xsl.sh interpreter/messages/errnumssubcom.xml ./interpreter/messages/rexxmsg.xml ./interpreter/messages/errnumssubcom.xsl /bin/sh ./libtool --tag=CXX --mode=link g++ -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory -I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression -I./interpreter/instructions -I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary -I./interpreter/platform/common -I./interpreter/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -version-info 4:6:0 -Xcompiler -nostartfiles -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librexx.la -rpath /usr/lib64 librexx_la-ArrayClass.lo librexx_la-BufferClass.lo librexx_la-ClassClass.lo librexx_la-ContextClass.lo librexx_la-DirectoryClass.lo librexx_la-IntegerClass.lo librexx_la-ListClass.lo librexx_la-MessageClass.lo librexx_la-MethodClass.lo librexx_la-MutableBufferClass.lo librexx_la-NumberStringClass.lo librexx_la-NumberStringMath.lo librexx_la-NumberStringMath2.lo librexx_la-ObjectClass.lo librexx_la-PackageClass.lo librexx_la-PointerClass.lo librexx_la-QueueClass.lo librexx_la-RelationClass.lo librexx_la-RoutineClass.lo librexx_la-RexxQueueMethods.lo librexx_la-StackClass.lo librexx_la-StemClass.lo librexx_la-StringClass.lo librexx_la-StringClassBit.lo librexx_la-StringClassConversion.lo librexx_la-StringClassMisc.lo librexx_la-StringClassSub.lo librexx_la-StringClassUtil.lo librexx_la-StringClassWord.lo librexx_la-SupplierClass.lo librexx_la-TableClass.lo librexx_la-IdentityTableClass.lo librexx_la-WeakReferenceClass.lo librexx_la-StackFrameClass.lo librexx_la-ProgramMetaData.lo librexx_la-RexxCollection.lo librexx_la-RexxCompoundElement.lo librexx_la-RexxCompoundTable.lo librexx_la-RexxCompoundTail.lo librexx_la-RexxDateTime.lo librexx_la-RexxHashTable.lo librexx_la-RexxListTable.lo librexx_la-StringUtil.lo librexx_la-CallContextStubs.lo librexx_la-InterpreterAPI.lo librexx_la-InterpreterInstanceStubs.lo librexx_la-MethodContextStubs.lo librexx_la-ThreadContextStubs.lo librexx_la-PrimitiveBehaviours.lo librexx_la-RexxBehaviour.lo librexx_la-VirtualFunctionTable.lo librexx_la-CPPCode.lo librexx_la-RexxActivation.lo librexx_la-RexxActivationStack.lo librexx_la-RexxCode.lo librexx_la-RexxLocalVariables.lo librexx_la-RexxNativeActivation.lo librexx_la-RexxNativeCode.lo librexx_la-RexxVariable.lo librexx_la-RexxVariableDictionary.lo librexx_la-SecurityManager.lo librexx_la-DeadObject.lo librexx_la-MemorySegment.lo librexx_la-MemoryStats.lo librexx_la-ProtectedObject.lo librexx_la-RexxEnvelope.lo librexx_la-RexxInternalStack.lo librexx_la-RexxSmartBuffer.lo librexx_la-UninitDispatcher.lo librexx_la-Setup.lo librexx_la-RexxMemory.lo librexx_la-LibraryPackage.lo librexx_la-PackageManager.lo librexx_la-ActivityDispatcher.lo librexx_la-ActivityManager.lo librexx_la-ActivationFrame.lo librexx_la-CallbackDispatcher.lo librexx_la-TrappingDispatcher.lo librexx_la-ExitHandler.lo librexx_la-CommandHandler.lo librexx_la-MessageDispatcher.lo librexx_la-RexxActivity.lo librexx_la-RexxStartDispatcher.lo librexx_la-TranslateDispatcher.lo librexx_la-BuiltinFunctions.lo librexx_la-CommonExternalFunctions.lo librexx_la-ExpressionCompoundVariable.lo librexx_la-ExpressionDotVariable.lo librexx_la-ExpressionFunction.lo librexx_la-ExpressionMessage.lo librexx_la-ExpressionOperator.lo librexx_la-ExpressionStack.lo librexx_la-ExpressionStem.lo librexx_la-ExpressionVariable.lo librexx_la-IndirectVariableReference.lo librexx_la-ExpressionLogical.lo librexx_la-AddressInstruction.lo librexx_la-AssignmentInstruction.lo librexx_la-CallInstruction.lo librexx_la-ClassDirective.lo librexx_la-CommandInstruction.lo librexx_la-DoBlock.lo librexx_la-DoInstruction.lo librexx_la-DropInstruction.lo librexx_la-ElseInstruction.lo librexx_la-EndIf.lo librexx_la-EndInstruction.lo librexx_la-ExitInstruction.lo librexx_la-ExposeInstruction.lo librexx_la-ForwardInstruction.lo librexx_la-GuardInstruction.lo librexx_la-IfInstruction.lo librexx_la-InterpretInstruction.lo librexx_la-LabelInstruction.lo librexx_la-LeaveInstruction.lo librexx_la-LibraryDirective.lo librexx_la-MessageInstruction.lo librexx_la-NopInstruction.lo librexx_la-NumericInstruction.lo librexx_la-OptionsInstruction.lo librexx_la-OtherwiseInstruction.lo librexx_la-ParseInstruction.lo librexx_la-ParseTarget.lo librexx_la-ParseTrigger.lo librexx_la-ProcedureInstruction.lo librexx_la-QueueInstruction.lo librexx_la-RaiseInstruction.lo librexx_la-ReplyInstruction.lo librexx_la-RequiresDirective.lo librexx_la-ReturnInstruction.lo librexx_la-RexxInstruction.lo librexx_la-SayInstruction.lo librexx_la-SelectInstruction.lo librexx_la-SignalInstruction.lo librexx_la-ThenInstruction.lo librexx_la-TraceInstruction.lo librexx_la-UseStrictInstruction.lo librexx_la-Clause.lo librexx_la-KeywordConstants.lo librexx_la-InstructionParser.lo librexx_la-Scanner.lo librexx_la-SourceFile.lo librexx_la-Token.lo librexx_la-ErrorMessages.lo librexx_la-ExternalFunctions.lo librexx_la-FileSystem.lo librexx_la-MemorySupport.lo librexx_la-MiscSystem.lo librexx_la-RexxMain.lo librexx_la-SysActivity.lo librexx_la-SysFileSystem.lo librexx_la-SysInterpreterInstance.lo librexx_la-SystemCommands.lo librexx_la-SystemInitialization.lo librexx_la-SystemInterpreter.lo librexx_la-TimeSupport.lo librexx_la-UseridFunction.lo librexx_la-ValueFunction.lo librexx_la-Utilities.lo librexx_la-SysFile.lo librexx_la-SysLibrary.lo librexx_la-SysSemaphore.lo librexx_la-SysThread.lo librexx_la-GlobalData.lo librexx_la-GlobalNames.lo librexx_la-InternalPackage.lo librexx_la-Interpreter.lo librexx_la-InterpreterInstance.lo librexx_la-Numerics.lo librexx_la-RexxMisc.lo librexx_la-Version.lo librexx_la-StreamCommandParser.lo librexx_la-StreamNative.lo librexx_la-FileNative.lo -ldl -lpthread -lpthread /bin/sh ./libtool --tag=CXX --mode=link g++ -DORX_VER=4 -DORX_REL=2 -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\""2005-2013"\" -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/share/ooRexx\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix -I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common -I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wall -funsigned-char -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -version-info 4:6:0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o librexxapi.la -rpath /usr/lib64 librexxapi_la-ClientMessage.lo librexxapi_la-LocalAPIContext.lo librexxapi_la-LocalAPIManager.lo librexxapi_la-LocalMacroSpaceManager.lo librexxapi_la-LocalQueueManager.lo librexxapi_la-LocalRegistrationManager.lo librexxapi_la-MacroSpaceApi.lo librexxapi_la-QueuesAPI.lo librexxapi_la-RegistrationAPI.lo librexxapi_la-SysLegacyAPI.lo librexxapi_la-SysLocalAPIManager.lo librexxapi_la-RegistrationTable.lo librexxapi_la-ServiceMessage.lo librexxapi_la-SysAPIManager.lo librexxapi_la-SysCSStream.lo librexxapi_la-SysProcess.lo librexxapi_la-Utilities.lo librexxapi_la-SysSemaphore.lo librexxapi_la-SysLibrary.lo librexxapi_la-SysFile.lo librexxapi_la-SysThread.lo -ldl -lpthread -lpthread libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/7/crti.o /usr/lib/gcc/riscv64-redhat-linux/7/crtbeginS.o .libs/librexxapi_la-ClientMessage.o .libs/librexxapi_la-LocalAPIContext.o .libs/librexxapi_la-LocalAPIManager.o .libs/librexxapi_la-LocalMacroSpaceManager.o .libs/librexxapi_la-LocalQueueManager.o .libs/librexxapi_la-LocalRegistrationManager.o .libs/librexxapi_la-MacroSpaceApi.o .libs/librexxapi_la-QueuesAPI.o .libs/librexxapi_la-RegistrationAPI.o .libs/librexxapi_la-SysLegacyAPI.o .libs/librexxapi_la-SysLocalAPIManager.o .libs/librexxapi_la-RegistrationTable.o .libs/librexxapi_la-ServiceMessage.o .libs/librexxapi_la-SysAPIManager.o .libs/librexxapi_la-SysCSStream.o .libs/librexxapi_la-SysProcess.o .libs/librexxapi_la-Utilities.o .libs/librexxapi_la-SysSemaphore.o .libs/librexxapi_la-SysLibrary.o .libs/librexxapi_la-SysFile.o .libs/librexxapi_la-SysThread.o -ldl -lpthread -L/usr/lib/gcc/riscv64-redhat-linux/7 -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/7/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/7/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,librexxapi.so.4 -o .libs/librexxapi.so.4.0.6 libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/7/crti.o /usr/lib/gcc/riscv64-redhat-linux/7/crtbeginS.o .libs/librexx_la-ArrayClass.o .libs/librexx_la-BufferClass.o .libs/librexx_la-ClassClass.o .libs/librexx_la-ContextClass.o .libs/librexx_la-DirectoryClass.o .libs/librexx_la-IntegerClass.o .libs/librexx_la-ListClass.o .libs/librexx_la-MessageClass.o .libs/librexx_la-MethodClass.o .libs/librexx_la-MutableBufferClass.o .libs/librexx_la-NumberStringClass.o .libs/librexx_la-NumberStringMath.o .libs/librexx_la-NumberStringMath2.o .libs/librexx_la-ObjectClass.o .libs/librexx_la-PackageClass.o .libs/librexx_la-PointerClass.o .libs/librexx_la-QueueClass.o .libs/librexx_la-RelationClass.o .libs/librexx_la-RoutineClass.o .libs/librexx_la-RexxQueueMethods.o .libs/librexx_la-StackClass.o .libs/librexx_la-StemClass.o .libs/librexx_la-StringClass.o .libs/librexx_la-StringClassBit.o .libs/librexx_la-StringClassConversion.o .libs/librexx_la-StringClassMisc.o .libs/librexx_la-StringClassSub.o .libs/librexx_la-StringClassUtil.o .libs/librexx_la-StringClassWord.o .libs/librexx_la-SupplierClass.o .libs/librexx_la-TableClass.o .libs/librexx_la-IdentityTableClass.o .libs/librexx_la-WeakReferenceClass.o .libs/librexx_la-StackFrameClass.o .libs/librexx_la-ProgramMetaData.o .libs/librexx_la-RexxCollection.o .libs/librexx_la-RexxCompoundElement.o .libs/librexx_la-RexxCompoundTable.o .libs/librexx_la-RexxCompoundTail.o .libs/librexx_la-RexxDateTime.o .libs/librexx_la-RexxHashTable.o .libs/librexx_la-RexxListTable.o .libs/librexx_la-StringUtil.o .libs/librexx_la-CallContextStubs.o .libs/librexx_la-InterpreterAPI.o .libs/librexx_la-InterpreterInstanceStubs.o .libs/librexx_la-MethodContextStubs.o .libs/librexx_la-ThreadContextStubs.o .libs/librexx_la-PrimitiveBehaviours.o .libs/librexx_la-RexxBehaviour.o .libs/librexx_la-VirtualFunctionTable.o .libs/librexx_la-CPPCode.o .libs/librexx_la-RexxActivation.o .libs/librexx_la-RexxActivationStack.o .libs/librexx_la-RexxCode.o .libs/librexx_la-RexxLocalVariables.o .libs/librexx_la-RexxNativeActivation.o .libs/librexx_la-RexxNativeCode.o .libs/librexx_la-RexxVariable.o .libs/librexx_la-RexxVariableDictionary.o .libs/librexx_la-SecurityManager.o .libs/librexx_la-DeadObject.o .libs/librexx_la-MemorySegment.o .libs/librexx_la-MemoryStats.o .libs/librexx_la-ProtectedObject.o .libs/librexx_la-RexxEnvelope.o .libs/librexx_la-RexxInternalStack.o .libs/librexx_la-RexxSmartBuffer.o .libs/librexx_la-UninitDispatcher.o .libs/librexx_la-Setup.o .libs/librexx_la-RexxMemory.o .libs/librexx_la-LibraryPackage.o .libs/librexx_la-PackageManager.o .libs/librexx_la-ActivityDispatcher.o .libs/librexx_la-ActivityManager.o .libs/librexx_la-ActivationFrame.o .libs/librexx_la-CallbackDispatcher.o .libs/librexx_la-TrappingDispatcher.o .libs/librexx_la-ExitHandler.o .libs/librexx_la-CommandHandler.o .libs/librexx_la-MessageDispatcher.o .libs/librexx_la-RexxActivity.o .libs/librexx_la-RexxStartDispatcher.o .libs/librexx_la-TranslateDispatcher.o .libs/librexx_la-BuiltinFunctions.o .libs/librexx_la-CommonExternalFunctions.o .libs/librexx_la-ExpressionCompoundVariable.o .libs/librexx_la-ExpressionDotVariable.o .libs/librexx_la-ExpressionFunction.o .libs/librexx_la-ExpressionMessage.o .libs/librexx_la-ExpressionOperator.o .libs/librexx_la-ExpressionStack.o .libs/librexx_la-ExpressionStem.o .libs/librexx_la-ExpressionVariable.o .libs/librexx_la-IndirectVariableReference.o .libs/librexx_la-ExpressionLogical.o .libs/librexx_la-AddressInstruction.o .libs/librexx_la-AssignmentInstruction.o .libs/librexx_la-CallInstruction.o .libs/librexx_la-ClassDirective.o .libs/librexx_la-CommandInstruction.o .libs/librexx_la-DoBlock.o .libs/librexx_la-DoInstruction.o .libs/librexx_la-DropInstruction.o .libs/librexx_la-ElseInstruction.o .libs/librexx_la-EndIf.o .libs/librexx_la-EndInstruction.o .libs/librexx_la-ExitInstruction.o .libs/librexx_la-ExposeInstruction.o .libs/librexx_la-ForwardInstruction.o .libs/librexx_la-GuardInstruction.o .libs/librexx_la-IfInstruction.o .libs/librexx_la-InterpretInstruction.o .libs/librexx_la-LabelInstruction.o .libs/librexx_la-LeaveInstruction.o .libs/librexx_la-LibraryDirective.o .libs/librexx_la-MessageInstruction.o .libs/librexx_la-NopInstruction.o .libs/librexx_la-NumericInstruction.o .libs/librexx_la-OptionsInstruction.o .libs/librexx_la-OtherwiseInstruction.o .libs/librexx_la-ParseInstruction.o .libs/librexx_la-ParseTarget.o .libs/librexx_la-ParseTrigger.o .libs/librexx_la-ProcedureInstruction.o .libs/librexx_la-QueueInstruction.o .libs/librexx_la-RaiseInstruction.o .libs/librexx_la-ReplyInstruction.o .libs/librexx_la-RequiresDirective.o .libs/librexx_la-ReturnInstruction.o .libs/librexx_la-RexxInstruction.o .libs/librexx_la-SayInstruction.o .libs/librexx_la-SelectInstruction.o .libs/librexx_la-SignalInstruction.o .libs/librexx_la-ThenInstruction.o .libs/librexx_la-TraceInstruction.o .libs/librexx_la-UseStrictInstruction.o .libs/librexx_la-Clause.o .libs/librexx_la-KeywordConstants.o .libs/librexx_la-InstructionParser.o .libs/librexx_la-Scanner.o .libs/librexx_la-SourceFile.o .libs/librexx_la-Token.o .libs/librexx_la-ErrorMessages.o .libs/librexx_la-ExternalFunctions.o .libs/librexx_la-FileSystem.o .libs/librexx_la-MemorySupport.o .libs/librexx_la-MiscSystem.o .libs/librexx_la-RexxMain.o .libs/librexx_la-SysActivity.o .libs/librexx_la-SysFileSystem.o .libs/librexx_la-SysInterpreterInstance.o .libs/librexx_la-SystemCommands.o .libs/librexx_la-SystemInitialization.o .libs/librexx_la-SystemInterpreter.o .libs/librexx_la-TimeSupport.o .libs/librexx_la-UseridFunction.o .libs/librexx_la-ValueFunction.o .libs/librexx_la-Utilities.o .libs/librexx_la-SysFile.o .libs/librexx_la-SysLibrary.o .libs/librexx_la-SysSemaphore.o .libs/librexx_la-SysThread.o .libs/librexx_la-GlobalData.o .libs/librexx_la-GlobalNames.o .libs/librexx_la-InternalPackage.o .libs/librexx_la-Interpreter.o .libs/librexx_la-InterpreterInstance.o .libs/librexx_la-Numerics.o .libs/librexx_la-RexxMisc.o .libs/librexx_la-Version.o .libs/librexx_la-StreamCommandParser.o .libs/librexx_la-StreamNative.o .libs/librexx_la-FileNative.o -ldl -lpthread -L/usr/lib/gcc/riscv64-redhat-linux/7 -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/7/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/7/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -nostartfiles -Wl,-z -Wl,relro -Wl,-soname -Wl,librexx.so.4 -o .libs/librexx.so.4.0.6 libtool: link: (cd ".libs" && rm -f "librexxapi.so.4" && ln -s "librexxapi.so.4.0.6" "librexxapi.so.4") libtool: link: (cd ".libs" && rm -f "librexxapi.so" && ln -s "librexxapi.so.4.0.6" "librexxapi.so") ./extensions/rexxutil/platform/unix/rexxutil.cpp: In function 'size_t SysSleep(const char*, size_t, CONSTRXSTRING*, const char*, PRXSTRING)': ./extensions/rexxutil/platform/unix/rexxutil.cpp:1074:9: warning: variable 'digits' set but not used [-Wunused-but-set-variable] int digits; /* number of decimal digits */ ^~~~~~ libtool: link: ( cd ".libs" && rm -f "librexxapi.la" && ln -s "../librexxapi.la" "librexxapi.la" ) ./extensions/rexxutil/platform/unix/rexxutil.cpp: In function 'size_t SysFileSearch(const char*, size_t, CONSTRXSTRING*, const char*, PRXSTRING)': ./extensions/rexxutil/platform/unix/rexxutil.cpp:1704:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (ptr != '\0') { ^~~~ ./extensions/rexxutil/platform/unix/rexxutil.cpp: In function 'size_t SysDumpVariables(const char*, size_t, CONSTRXSTRING*, const char*, PRXSTRING)': ./extensions/rexxutil/platform/unix/rexxutil.cpp:4689:43: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] RexxFreeMemory((void *)shvb.shvname.strptr); ^~~~~~ ./extensions/rexxutil/platform/unix/rexxutil.cpp: In function 'size_t SysGetFileDateTime(const char*, size_t, CONSTRXSTRING*, const char*, PRXSTRING)': ./extensions/rexxutil/platform/unix/rexxutil.cpp:4780:18: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] free((void *)dir_buf); /* free the buffer memory */ ^~~~~~~ ./extensions/rexxutil/platform/unix/rexxutil.cpp: In function 'size_t SysSetFileDateTime(const char*, size_t, CONSTRXSTRING*, const char*, PRXSTRING)': ./extensions/rexxutil/platform/unix/rexxutil.cpp:4872:18: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] free((void *)dir_buf); /* free the buffer memory */ ^~~~~~~ make: *** [Makefile:3606: librexxutil_la-rexxutil.lo] Error 1 make: *** Waiting for unfinished jobs.... .libs/librexx_la-SysFileSystem.o: In function `SysFileSystem::getTempFileName()': /builddir/build/BUILD/ooRexx-4.2.0/./interpreter/platform/unix/SysFileSystem.cpp:170: warning: the use of `tmpnam' is dangerous, better use `mkstemp' libtool: link: (cd ".libs" && rm -f "librexx.so.4" && ln -s "librexx.so.4.0.6" "librexx.so.4") libtool: link: (cd ".libs" && rm -f "librexx.so" && ln -s "librexx.so.4.0.6" "librexx.so") libtool: link: ( cd ".libs" && rm -f "librexx.la" && ln -s "../librexx.la" "librexx.la" ) error: Bad exit status from /var/tmp/rpm-tmp.INZxz3 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.INZxz3 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff