Hi,
Is there any plan to update the commoncpp libaries to build with the latest gcc compilers.
It seems it no longer complies in Debian/Ubuntu 22.04 and on SUSE LEAP 15/SLES 15
I am actually trying to rebuild the libaries for leap 42 for use in an RTP application. But thought I would try in ubunnu as I use it on my home pc.
it has been removed from Debian for example:
So I have questions. Is it that ccrtp now uses the uCommon instead?
I got two errors so far, one I corrected as I found a solution.
It is possible but not easy to use an older gcc like gcc 7 but difficult to do in latest version of Ubuntu. Oldest available is gcc 8.
The other is a bit more complicated:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -MT persist.lo -MD -MP -MF .deps/persist.Tpo -c persist.cpp -fPIC -DPIC -o .libs/persist.o
In file included from persist.cpp:39:
../inc/cc++/config.h:944:19: error: ISO C++17 does not allow dynamic exception specifications
944 | #define THROWS(x) throw(x)
| ^~~~~
../inc/cc++/persist.h:269:72: note: in expansion of macro ‘THROWS’
269 | Engine(std::iostream& stream, EngineMode mode, bool compress=true) THROWS (PersistException);
To do with the depricated throws in gcc 11 up.
Are there plans to include the fixes for the latest gcc compilers or is the plan to use the ucommon instead for rtp?
Thanks,
Matthew Joyner