]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix gen-proto (fixproto) build failure.
authorJames E Wilson <wilson@specifixinc.com>
Tue, 14 Sep 2004 03:45:46 +0000 (03:45 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 14 Sep 2004 03:45:46 +0000 (20:45 -0700)
* Makefile.in (GEN_PROTOS_OBJS): Add $(BUILD_ERRORS).
* gen-protos.c: Include errors.h.
(progname): Delete.

From-SVN: r87480

gcc/ChangeLog
gcc/Makefile.in
gcc/gen-protos.c

index 8e52c7569bf65bfcd8f632e191c8fe4e401a1450..82665c53baf304dc0fc6b174a0403887001f9400 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-13  James E Wilson  <wilson@specifixinc.com>
+
+       * Makefile.in (GEN_PROTOS_OBJS): Add $(BUILD_ERRORS).
+       * gen-protos.c: Include errors.h.
+       (progname): Delete.
+
 2004-09-14  Jan Hubicka  <jh@suse.cz>
 
        * Makefile.in (predict.o): Depend on tree-scalar-evolution.h
index aa45b739796417d61201c42413a336fe8366595f..ad61b55ed8846d075c14e91ffab7b878d165d369 100644 (file)
@@ -2839,7 +2839,7 @@ deduced.h: $(GCC_PASSES) $(srcdir)/scan-types.sh stmp-int-hdrs
          $(STAMP) deduced.h; \
        fi
 
-GEN_PROTOS_OBJS = gen-protos.o scan.o
+GEN_PROTOS_OBJS = gen-protos.o scan.o $(BUILD_ERRORS)
 gen-protos$(build_exeext): $(GEN_PROTOS_OBJS)
        ${CC_FOR_BUILD} $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@ \
          $(GEN_PROTOS_OBJS) $(BUILD_LIBS)
index 453b729804619078c7ac608ce21d01add96b15fe..17e435fde77975c182f56f6ab2e4cb3937587840 100644 (file)
@@ -21,9 +21,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include "coretypes.h"
 #include "tm.h"
 #include "scan.h"
+#include "errors.h"
 
 int verbose = 0;
-const char *progname;
 
 static void add_hash (const char *);
 static int parse_fn_proto (char *, char *, struct fn_decl *);