aboutsummaryrefslogtreecommitdiff
path: root/sim/cr16
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-10 16:10:40 +0000
committerTom Tromey <tromey@redhat.com>2013-05-10 16:10:40 +0000
commitd3685d60d601f0ae817beb920fc1156f1f0885ee (patch)
tree8a229a81151ba2bd4c995bbe01c8761b2d71b821 /sim/cr16
parenteb9fe518e96dbfae113992f27e9b7409f561d520 (diff)
downloadgdb-d3685d60d601f0ae817beb920fc1156f1f0885ee.zip
gdb-d3685d60d601f0ae817beb920fc1156f1f0885ee.tar.gz
gdb-d3685d60d601f0ae817beb920fc1156f1f0885ee.tar.bz2
gdb
Freddie Chopin <freddie_chopin@op.pl> PR build/15414: * configure: Rebuild. * configure.ac (build_warnings): Do not use -Wformat-nonliteral with -Wno-format. sim/common * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Do not use -Wformat-nonliteral with -Wno-format. sim/bfin * configure: Rebuild. sim/cr16 * configure: Rebuild. sim/cris * configure: Rebuild. sim/d10v * configure: Rebuild. sim/igen * configure: Rebuild. sim/m68hc11 * configure: Rebuild. sim/mips * configure: Rebuild. sim/mn10300 * configure: Rebuild. sim/v850 * configure: Rebuild.
Diffstat (limited to 'sim/cr16')
-rw-r--r--sim/cr16/ChangeLog4
-rw-r--r--sim/cr16/configure3
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index f0c62c3..4fc2dac 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
+
+ * configure: Rebuild.
+
2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
* cr16_sim.h: Add defines for TRAP handling.
diff --git a/sim/cr16/configure b/sim/cr16/configure
index ca6dcab..065db2b 100644
--- a/sim/cr16/configure
+++ b/sim/cr16/configure
@@ -12887,7 +12887,7 @@ fi
# NOTE: If you change this list, remember to update
# gdb/doc/gdbint.texinfo.
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
--Wformat-nonliteral -Wno-pointer-sign \
+-Wno-pointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
-Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
@@ -12895,6 +12895,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
# GCC versions complain about %I64.
case "${host}" in
*-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
+ *) build_warnings="$build_warnings -Wformat-nonliteral" ;;
esac
# Check whether --enable-build-warnings was given.