OSDN Git Service

2004-09-16 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Thu, 16 Sep 2004 18:12:31 +0000 (18:12 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 16 Sep 2004 18:12:31 +0000 (18:12 +0000)
* Makefile.in (gnu-v3-abi.o): Add explict rule to avoid -Werror
problem.

gdb/ChangeLog
gdb/Makefile.in

index ee32bdd..451d2ae 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-16  Andrew Cagney  <cagney@gnu.org>
+
+       * Makefile.in (gnu-v3-abi.o): Add explict rule to avoid -Werror
+       problem.
+
 2004-09-14  Joel Brobecker  <brobecker@gnat.com>
 
        * mips-tdep.c (mips_insn32_frame_cache): Pass frame cache in
index 7ad1e9b..9d1ca0c 100644 (file)
@@ -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