From: Andrew Cagney Date: Sat, 16 Aug 2003 17:44:51 +0000 (+0000) Subject: 2003-08-16 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07978cd82389d4b65b44ea25a2808738569ea6a6;p=binutils-gdb.git 2003-08-16 Andrew Cagney * Makefile.in (printcmd.o, valprint.o): Do not try to build with -Werror. -Wformat-nonliteral problems. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 84da3a273b0..55536ce31d0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-08-16 Andrew Cagney + + * Makefile.in (printcmd.o, valprint.o): Do not try to build with + -Werror. -Wformat-nonliteral problems. + 2003-08-15 J. Brobecker Further multiarching work mostly for hppa64-*-hpux11: diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 21910e13ef7..5f2a6a88910 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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.