aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2003-03-20 03:11:25 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2003-03-20 03:11:25 +0000
commit31260fb8469ba4c69f53e354704fbf151798af5e (patch)
tree45962ae4d69dedca71c4459bdbf83f07acc1bd01 /gcc/cp
parent951312c8190b927f30693f0e9ab122f991efaeab (diff)
downloadgcc-31260fb8469ba4c69f53e354704fbf151798af5e.zip
gcc-31260fb8469ba4c69f53e354704fbf151798af5e.tar.gz
gcc-31260fb8469ba4c69f53e354704fbf151798af5e.tar.bz2
Makefile.in (STRICT2_WARN): Add @WERROR@.
* Makefile.in (STRICT2_WARN): Add @WERROR@. (GCC_WARN_CFLAGS): Remove $(WERROR). (fixinc.sh-warn): New. * ada/Make-lang.in (ada-warn): Add $(WERROR). * cp/Make-lang.in (cp-warn): Add $(WERROR). * f/Make-lang.in (f-warn): Add $(WERROR). * java/Make-lang.in (java-warn): Add $(WERROR). * treelang/Make-lang.in (treelang-warn): Add $(WERROR). From-SVN: r64606
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/Make-lang.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index f6f707f..cd4b21c 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -90,7 +90,7 @@ CXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \
cp/optimize.o cp/mangle.o cp/cp-lang.o
# Use loose warnings for this front end.
-cp-warn =
+cp-warn = $(WERROR)
cc1plus$(exeext): $(CXX_OBJS) $(CXX_C_OBJS) $(BACKEND) \
libcpp.a $(LIBDEPS)