diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-04-03 23:26:03 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-04-03 23:26:03 +0000 |
commit | d893ff338941bc3c8db442c1bfc7c29fecc4eb38 (patch) | |
tree | 13a60b7a6aec8477897f0625b12c81aa396b45df | |
parent | 7b43d10453a4d67ec5c99cc8d0124dd12c222671 (diff) | |
download | gcc-d893ff338941bc3c8db442c1bfc7c29fecc4eb38.zip gcc-d893ff338941bc3c8db442c1bfc7c29fecc4eb38.tar.gz gcc-d893ff338941bc3c8db442c1bfc7c29fecc4eb38.tar.bz2 |
Make-lang.in (cp-warn): Add $(STRICT_WARN).
* Make-lang.in (cp-warn): Add $(STRICT_WARN).
* cp-tree.h: Don't insist on having GNUC.
From-SVN: r65217
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/Make-lang.in | 4 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a8bff85..fab44f4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * Make-lang.in (cp-warn): Add $(STRICT_WARN). + * cp-tree.h: Don't insist on having GNUC. + 2003-04-03 Jason Merrill <jason@redhat.com> * cvt.c (ocp_convert): Only abort if we try to convert an object diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index afa6011..6ae9015 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -89,8 +89,8 @@ CXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \ cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o \ cp/optimize.o cp/mangle.o cp/cp-lang.o cp/name-lookup.o -# Use loose warnings for this front end. -cp-warn = $(WERROR) +# Use strict warnings for this front end. +cp-warn = $(STRICT_WARN) $(WERROR) cc1plus$(exeext): $(CXX_OBJS) $(CXX_C_OBJS) $(BACKEND) \ libcpp.a $(LIBDEPS) diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 66c6355..92a227f 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -29,10 +29,6 @@ Boston, MA 02111-1307, USA. */ #include "splay-tree.h" #include "varray.h" -#ifndef __GNUC__ -#error "You should be using 'make bootstrap' -- see installation instructions" -#endif - #include "c-common.h" #include "name-lookup.h" |