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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 13 10:57:03 BST 2026


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296473

--- Comment #7 from Trond Endrestøl <Trond.Endrestol at ximalas.info> ---
(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__ >= 201112L &&
__STDC_VERSION__ <= 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 should
allow for that cornercase:

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

It's nothing more than technical debt and misunderstanding.

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


More information about the kde-freebsd mailing list