From 88049b1ccdfc84b2f23e12f8fd621603b2529a8a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 16 Sep 2004 18:12:31 +0000 Subject: [PATCH] 2004-09-16 Andrew Cagney * Makefile.in (gnu-v3-abi.o): Add explict rule to avoid -Werror problem. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ee32bdd840..451d2aee5e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-09-16 Andrew Cagney + + * Makefile.in (gnu-v3-abi.o): Add explict rule to avoid -Werror + problem. + 2004-09-14 Joel Brobecker * mips-tdep.c (mips_insn32_frame_cache): Pass frame cache in diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 7ad1e9b774..9d1ca0ccf4 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1432,6 +1432,14 @@ main.o: main.c $(CC) -c $(INTERNAL_CFLAGS) $(TARGET_SYSTEM_ROOT_DEFINE) \ -DBINDIR=\"$(bindir)\" $(srcdir)/main.c +# FIXME: cagney/2004-09-16: "gnu-v3-abi.c", with a GCC 3.4 compiler, +# gets a "assignment from incompatible pointer type" warning. The +# return types - "enum gnu_v3_dtor_kinds" vs "enum ctor_kinds" - +# conflict. +gnu-v3-abi.o: $(srcdir)/gnu-v3-abi.c + $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \ + $(srcdir)/gnu-v3-abi.c + # FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral # errors. It turns out that that is the least of monitor.c's # problems. The function print_vsprintf appears to be using -- 2.11.0