Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2021 22:34:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 255290] _POSIX_C_SOURCE=200809 hides static_assert
Message-ID:  <bug-255290-99-pdQ3gSE1Ce@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255290-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255290-99@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255290

--- Comment #13 from Warner Losh <imp@FreeBSD.org> ---
This isn't a case of being liberal about what's accepted. It's a case of do=
ing
exactly what the standard specifies, and nothing more. There's no feature t=
est
macro defined for sources to say they want a C11 extensions in addition to =
the
strict posix environment requested by __POSIX_C_SOURCE__ =3D 200809.

If there is a feature test macro that's well defined that includes this, th=
at
could be implemented, but __STDC_VERSION__ is not such a macro because it
cannot be defined by the programmer, only the compiler.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255290-99-pdQ3gSE1Ce>