This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51773] error building libitm/aatree.cc on ARM
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Jan 2012 11:47:15 +0000
- Subject: [Bug c++/51773] error building libitm/aatree.cc on ARM
- Auto-submitted: auto-generated
- References: <bug-51773-4@http.gcc.gnu.org/bugzilla/>
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>.