system.h: Activate -Wcast-qual as warning-only.
* system.h: Activate -Wcast-qual as warning-only. From-SVN: r127913
This commit is contained in:
parent
e4e5e7f5f8
commit
fe9a259855
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2007-08-29 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
PR target/33168
|
PR target/33168
|
||||||
|
|
|
@ -782,4 +782,9 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
|
||||||
#define CONST_CAST(X) ((void*)(X))
|
#define CONST_CAST(X) ((void*)(X))
|
||||||
#endif
|
#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 */
|
#endif /* ! GCC_SYSTEM_H */
|
||||||
|
|
Loading…
Reference in New Issue