--- Begin Message ---
On 20250906@17:49, Rafael Laboissière wrote:
> * Santiago Vila <[email protected]> [2025-09-05 20:56]:
> 
> > On Fri, Sep 05, 2025 at 06:48:48PM +0000, Michele Martone wrote:
> > 
> > > that error seems new to me.
> > 
> > The error is new because gcc-15 was uploaded for unstable yesterday.
> 
> Indeed this is the error message:
> 
>     /usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:568:1: error: template 
> with C linkage
>       568 | template<typename __T>
>           | ^~~~~~~~
>     rsb_common.h:32:1: note: ‘extern "C"’ linkage started here
>        32 | extern "C" {
> 
> The omp.h file includes C++ statements (template definitions) but it is
> included inside an 'extern "C" {}' block.
> 
> I am sorry I do not know how to fix this.
> 
> @Michele: if you can find a way to fix this, I can try it on my forky
> chroot.
> 
> Best,
> 
> Rafael Laboissière

I could reproduce the problem
 (omp.h headers being included after a extern "C" linkage specification )
and fix it with patch
 
https://salsa.debian.org/science-team/librsb/-/commit/fb828495e45f43485ad84b79e3d8b69efc3f621d
 -- @Rafael, I hope you can give a look at this and confirm it's fine
now.

Apologies for the terrible timing in reacting...

--- End Message ---

Attachment: signature.asc
Description: PGP signature

Reply via email to