OSDN Git Service

2003-08-16 Andrew Cagney <cagney@redhat.com>
authorcagney <cagney>
Sat, 16 Aug 2003 17:44:51 +0000 (17:44 +0000)
committercagney <cagney>
Sat, 16 Aug 2003 17:44:51 +0000 (17:44 +0000)
* Makefile.in (printcmd.o, valprint.o): Do not try to build with
-Werror.  -Wformat-nonliteral problems.

gdb/ChangeLog
gdb/Makefile.in

index 84da3a2..55536ce 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-16  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (printcmd.o, valprint.o): Do not try to build with
+       -Werror.  -Wformat-nonliteral problems.
+
 2003-08-15  J. Brobecker  <brobecker@gnat.com>
 
        Further multiarching work mostly for hppa64-*-hpux11:
index 21910e1..5f2a6a8 100644 (file)
@@ -1348,6 +1348,12 @@ v850ice.o: $(srcdir)/v850ice.c
                $(GDBTK_CFLAGS) \
                $(srcdir)/v850ice.c
 
+# FIXME: cagney/2003-08-10: Do not try to build "valprint.c" with
+# -Wformat-nonliteral.  It relies on local_hex_format et.al. and
+# that's a mess.  It needs a serious overhaul.
+valprint.o: $(srcdir)/valprint.c
+       $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/valprint.c
+
 # FIXME: z8k-tdep.c calls _initialize_gdbtypes().  Since that isn't
 # declared -Wimplicit fails. It should be using the GDBARCH framework.
 # cagney 1999-09-02.