aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-16 18:12:31 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-16 18:12:31 +0000
commit1c8c740728d840f30f9818d9dd683908bd0a3473 (patch)
tree8bf6676ec7052b5ebcb0c8ddbafa77606369e03b /gdb/Makefile.in
parent1fa32646fbadd3b802242ca993226fc35741a035 (diff)
downloadgdb-1c8c740728d840f30f9818d9dd683908bd0a3473.zip
gdb-1c8c740728d840f30f9818d9dd683908bd0a3473.tar.gz
gdb-1c8c740728d840f30f9818d9dd683908bd0a3473.tar.bz2
2004-09-16 Andrew Cagney <cagney@gnu.org>
* Makefile.in (gnu-v3-abi.o): Add explict rule to avoid -Werror problem.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 7ad1e9b..9d1ca0c 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