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/>

index | next in thread | previous in thread | raw e-mail

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

--- 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 doing
exactly what the standard specifies, and nothing more. There's no feature test
macro defined for sources to say they want a C11 extensions in addition to the
strict posix environment requested by __POSIX_C_SOURCE__ = 200809.

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

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

home | help

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