Commit fe9a2598 by Kaveh R. Ghazi Committed by Kaveh Ghazi

system.h: Activate -Wcast-qual as warning-only.

	* system.h: Activate -Wcast-qual as warning-only.

From-SVN: r127913
parent e4e5e7f5
2007-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* system.h: Activate -Wcast-qual as warning-only.
2007-08-29 Paolo Bonzini <bonzini@gnu.org>
PR target/33168
......
......@@ -782,4 +782,9 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
#define CONST_CAST(X) ((void*)(X))
#endif
/* Acivate -Wcast-qual as a warning (not an error/-Werror). */
#if GCC_VERSION >= 4003
#pragma GCC diagnostic warning "-Wcast-qual"
#endif
#endif /* ! GCC_SYSTEM_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment