Make-lang.in (cp-warn): Add $(STRICT_WARN).
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 3 Apr 2003 23:26:03 +0000 (23:26 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 3 Apr 2003 23:26:03 +0000 (23:26 +0000)
* Make-lang.in (cp-warn): Add $(STRICT_WARN).
* cp-tree.h: Don't insist on having GNUC.

From-SVN: r65217

gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/cp-tree.h

index a8bff85..fab44f4 100644 (file)
@@ -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
index afa6011..6ae9015 100644 (file)
@@ -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)
index 66c6355..92a227f 100644 (file)
@@ -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"