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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255290 --- Comment #7 from Warner Losh <imp@FreeBSD.org> --- (In reply to Tobias Kortkamp from comment #4) >Would you interpret -std={c,gnu}11 as "another feature test macro" (or >something that sets some, specifically __STDC_VERSION__=201112)? I would interpret that as requesting undefined behavior. POSIX is C99 and C99 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. -- 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-eMYGm88UXj>
