[Bug c++/51773] error building libitm/aatree.cc on ARM

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 6 11:47:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-01-06 11:47:15 UTC ---
On Fri, 6 Jan 2012, redi at gcc dot gnu.org wrote:

> does glibc also define macros for alignof, true, false, bool etc. in C++ mode?

Those C11 macros are defined in headers required to be provided by 
freestanding implementations, so provided by GCC, not glibc - but it was 
felt suitable to use assert.h for static_assert rather than creating a new 
stdstatic_assert.h header for that macro.  We already discussed C++ 
semantics for those headers, see 
<http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00847.html>.



More information about the Gcc-bugs mailing list