diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2008-06-29 05:36:20 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2008-06-29 05:36:20 +0000 |
commit | 572e5ae36a6e358c96e98638c4c361510bec90ac (patch) | |
tree | 4087c41736bddb46c32817dfe3abeba27c59d14b /gcc/Makefile.in | |
parent | 4dc6c528c2b8e858ae65d91a82c6fae661894302 (diff) | |
download | gcc-572e5ae36a6e358c96e98638c4c361510bec90ac.zip gcc-572e5ae36a6e358c96e98638c4c361510bec90ac.tar.gz gcc-572e5ae36a6e358c96e98638c4c361510bec90ac.tar.bz2 |
optabs.c (libfunc_decl_hash, [...]): Fix -Wcast-qual warnings.
* optabs.c (libfunc_decl_hash, libfunc_decl_eq): Fix -Wcast-qual
warnings.
* Makefile.in (CXX_COMPAT_WARN, cxx_compat_warn): Delete.
(bitmap.o-warn, dominance.o-warn): New.
* configure.ac (cxx_compat_warn): Delete.
(loose_warn): Add -Wcast-qual and -Wc++-compat.
* system.h: Remove #pragma diagnostic for -Wcast-qual and
-Wc++-compat.
* configure: Regenerate.
cp:
* Make-lang.in (cp-warn): Delete $(CXX_COMPAT_WARN).
java:
* Make-lang.in (java/jcf-io.o-warn): New.
From-SVN: r137246
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index c8f3b18..b29b0a8 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -160,10 +160,8 @@ coverageexts = .{gcda,gcno} # STRICT_WARN are the additional warning flags to # apply to the back end and the C front end, which may be compiled # with other compilers. -# CXX_COMPAT_WARN are C++ source compatibility warnings. LOOSE_WARN = @loose_warn@ STRICT_WARN = @strict_warn@ -CXX_COMPAT_WARN = @cxx_compat_warn@ # This is set by --enable-checking. The idea is to catch forgotten # "extern" tags in header files. @@ -189,6 +187,10 @@ build/gengtype-lex.o-warn = -Wno-error SYSCALLS.c.X-warn = -Wno-strict-prototypes -Wno-error # dfp.c contains alias violations dfp.o-warn = -Wno-error +# bitmap.c contains -Wc++compat warnings. +bitmap.o-warn = -Wno-error +# dominance.c contains a -Wc++compat warning. +dominance.o-warn = -Wno-error # All warnings have to be shut off in stage1 if the compiler used then # isn't gcc; configure determines that. WARN_CFLAGS will be either |