* Michele Martone <[email protected]> [2025-10-25 14:19]:
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
On 20250906@17:49, Rafael Laboissi=C3=A8re 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: =E2=80=98extern "C"=E2=80=99 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.
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.
Thanks, Michelle, your patch works fine. Version 1.3.0.2+dfsg-8 of the
librsb package has been uploaded to unstable.
Best,
Rafael