artnaseef commented on PR #21: URL: https://github.com/apache/activemq-cpp/pull/21#issuecomment-2692359518
I have some time this weekend to look at this. I just tried a first attempt at a build on my 20.04 Ubuntu system with gcc version 9.4.0 and got the following complaint: ``` ./decaf/lang/Throwable.h:49:28: error: expected ‘;’ at end of member declaration 49 | virtual ~Throwable() noexcept = default; ``` So I was wondering if this is an issue with the C++ standard applied. Checking the actual compile line, I don't see a standard being chosen: ``` libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -W -Wall -Wextra -Wconversion -fPIC -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g -O2 -pthread -MT activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo -MD -MP -MF activemq/cmsutil/.deps/libactivemq_cpp_la-CmsAccessor.Tpo -c activemq/cmsutil/CmsAccessor.cpp -fPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o ``` Can you help me track this down? Does the `configure` script check which C++ standard to apply? Or does the newer version of `g++` assume a different default standard? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact