[Bug 296473] devel/qt6-base: does not compile on recent CURRENT (1600019)

[email protected] Mon, 13 Jul 2026 09:57:03 +0000
Newsgroups gmane.comp.kde.freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296473

--- Comment #7 from Trond Endrest=C3=B8l <[email protected]> ---
(In reply to florian.millet from comment #6)
After running into the same issue on my laptop at home running 16.0-CURRENT,
it's better to adjust /usr/include/sys/stdatomic.h.

Maybe the (system) compiler(s) doesn't define __ISO_C_VISIBLE as needed.

I therefore added this to the end of line 89 of /usr/include/sys/stdatomic.=
h:

|| (defined(__STDC_VERSION__) && __STDC_VERSION__ >=3D 201112L &&
__STDC_VERSION__ <=3D 201710L)

And some software specifies gnu99 as their C standard and expects
ATOMIC_VAR_INIT to be available. Adding this at the end of the same line sh=
ould
allow for that cornercase:

|| (defined(__STDC_VERSION__) && __STDC_VERSION__ =3D=3D 199901L)

It's nothing more than technical debt and misunderstanding.

--=20
You are receiving this mail because:
You are the assignee for the bug.=