[Bug 205453] 11.0-CURRENT libcxxrt/guard.cc uses C11's _Static_assert in conditionally-compiled C++ code and when it is used buildworld fails for syntax errors in g++ compilers
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 20 16:56:40 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205453
--- Comment #3 from Mark Millard <markmi at dsl-only.net> ---
As for where _Static_assert and static_assert are gotten from:
_Static_assert in C11 and static_assert in C++11 exist even for free-standing
implementations. As I understand it is even stronger: no explicit headers
should be required unless the notation from one language is being used in the
other (ignoring simulating for older versions of languages). The handling
should be automatic/built-in even for source with no #includes involved.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list