From 07978cd82389d4b65b44ea25a2808738569ea6a6 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 16 Aug 2003 17:44:51 +0000 Subject: [PATCH] 2003-08-16 Andrew Cagney * Makefile.in (printcmd.o, valprint.o): Do not try to build with -Werror. -Wformat-nonliteral problems. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 6 ++++++ 2 files changed, 11 insertions(+) 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. -- 2.30.2