[Bug c++/51773] error building libitm/aatree.cc on ARM
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 6 10:52:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773
--- Comment #2 from vries at gcc dot gnu.org 2012-01-06 10:51:51 UTC ---
Looks related to:
+ [BZ #13529]
+ * assert/assert.h (static_assert): Define.
+
diff --git a/assert/assert.h b/assert/assert.h
index 841f435..4022e28 100644
--- a/assert/assert.h
+++ b/assert/assert.h
@@ -113,3 +113,10 @@ __END_DECLS
# endif
#endif /* NDEBUG. */
+
+
+#ifdef __USE_ISOC11
+/* Static assertion. Requires support in the compiler. */
+# undef static_assert
+# define static_assert _Static_assert
+#endif
More information about the Gcc-bugs
mailing list