Make -Wformat-nonliteral work with gcc
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d8ca6d3dabde403de8eaf09c8e54ae490a30a5b5..69e3182ec32ab8f177c02aa05ca4f804154b19e1 100644 (file)
@@ -1,3 +1,12 @@
+2018-09-05  Tom Tromey  <tom@tromey.com>
+
+       * warning.m4 (AM_GDB_WARNINGS): Add -Wformat when testing
+       -Wformat-nonliteral.
+       * target-float.c (host_float_ops<T>::to_string)
+       (host_float_ops<T>::from_string): Use
+       DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL.
+       * configure: Rebuild.
+
 2018-09-05  Simon Marchi  <simon.marchi@ericsson.com>
 
        * printcmd.c (printf_c_string): Use
This page took 0.02468 seconds and 4 git commands to generate.