Matthew,
They are not maintained anymore. Last time I did some work on libcomoncpp2 was 
was 4 years ago. I’d suggest to give ucommon a try as they are more recent than 
libcommoncpp2.
If you like to work on multiple platform I’d suggest to use build.opensuse.org 
<http://build.opensuse.org/> to host your builds.

All the best
Stefano

—
Stefano Canepa
s...@linux.it

Sciûsciâ e sciorbî no se pêu (Genoese for blowing and inhaling is not
possible.)

> On 4 Jun 2024, at 11:16, Matthew Joyner <lmcm...@hotmail.com> wrote:
> 
> 
> 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:
> 
> https://tracker.debian.org/news/1423409/removed-181-10-from-unstable/
> 
> 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.
> 
> https://bugs.gentoo.org/686012 for string.h
> 
> 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

Reply via email to