Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2021 14:48:39 +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-eMYGm88UXj@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 #7 from Warner Losh <imp@FreeBSD.org> ---
(In reply to Tobias Kortkamp from comment #4)
>Would you interpret -std=3D{c,gnu}11 as "another feature test macro" (or
>something that sets some, specifically __STDC_VERSION__=3D201112)?

I would interpret that as requesting undefined behavior. POSIX is C99 and C=
99
only. You requested POSIX, and then requested something else also. That
behavior is not defined. Pick one or the other, but you cannot have both as
there's no well-defined way to provide both.

--=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-eMYGm88UXj>