gcc/ChangeLog:
2016-02-25 Martin Liska <[email protected]>
* system.h: Poison ENABLE_CHECKING macro.
---
gcc/system.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gcc/system.h b/gcc/system.h
index 445073c..cb54541 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -1014,6 +1014,10 @@ extern void fancy_abort (const char *, int, const char
*) ATTRIBUTE_NORETURN;
#undef rindex
#pragma GCC poison bcopy bzero bcmp rindex
+/* Poison ENABLE_CHECKING macro that should be replaced with
+ 'if (flag_checking)', or with CHECKING_P macro. */
+#pragma GCC poison ENABLE_CHECKING
+
#endif /* GCC >= 3.0 */
/* This macro allows casting away const-ness to pass -Wcast-qual
--
2.7.0