diff options
author | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2006-01-29 19:51:40 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2006-01-29 19:51:40 +0000 |
commit | 373477bba3941f9d05be73dc0e316944a322e490 (patch) | |
tree | 2058d966d037f0687891f28a560aa1bb948d3618 /gcc/Makefile.in | |
parent | 2a1d634643cc622fa6c03c3ade04a8994af692cd (diff) | |
download | gcc-373477bba3941f9d05be73dc0e316944a322e490.zip gcc-373477bba3941f9d05be73dc0e316944a322e490.tar.gz gcc-373477bba3941f9d05be73dc0e316944a322e490.tar.bz2 |
configure.ac (cxx_compat_warn): Set if -Wc++-compat is supported.
* configure.ac (cxx_compat_warn): Set if -Wc++-compat is supported.
* Makefile.in (CXX_COMPAT_WARN): Define.
* configure: Regenerate.
cp/
* Make-lang.in (cp-warn): Include CXX_COMPAT_WARN.
* repo.c (extract_string, afgets): Use cast when converting from
void *.
From-SVN: r110380
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 40c18a1..999b867 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -173,12 +173,14 @@ coverageexts = .{gcda,gcno} # with other compilers. This is partially controlled by configure in # stage1, as not all versions of gcc understand -Wno-long-long or # -Wno-variadic-macros. +# CXX_COMPAT_WARN are C++ source compatibility warnings. LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes STRICT_WARN = @strict1_warn@ WERROR_FLAGS = @WERROR@ STRICT2_WARN = -pedantic -Wno-long-long -Wno-variadic-macros \ -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute \ $(WERROR_FLAGS) +CXX_COMPAT_WARN = @cxx_compat_warn@ # This is set by --enable-checking. The idea is to catch forgotten # "extern" tags in header files. |