diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-22 18:18:10 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-22 18:18:10 +0000 |
commit | 153721e6648398f00d9c1ca923239b73e3acee9b (patch) | |
tree | 45a0667c5457cd5904bd45da87752d77dffceed8 /gdb/doc | |
parent | c193f044f3bda97f0b82c9fef1ec6a43302ede96 (diff) | |
download | gdb-153721e6648398f00d9c1ca923239b73e3acee9b.zip gdb-153721e6648398f00d9c1ca923239b73e3acee9b.tar.gz gdb-153721e6648398f00d9c1ca923239b73e3acee9b.tar.bz2 |
2003-07-22 Andrew Cagney <cagney@redhat.com>
* configure.in (build_warnings): Add -Wformat-nonliteral.
* configure: Re-generate.
2003-07-22 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror
list.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index fe7da20..b877983 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-22 Andrew Cagney <cagney@redhat.com> + + * gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror + list. + 2003-06-28 Daniel Jacobowitz <drow@mvista.com> * gdb.texinfo (Logging output): New chapter. diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 4f031e0..7b3597a 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -5009,8 +5009,9 @@ that use register windows. @item -Wtrigraphs @item -Wformat +@itemx -Wformat-nonliteral Since @value{GDBN} uses the @code{format printf} attribute on all -@code{printf} like functions this checks not just @code{printf} calls +@code{printf} like functions these check not just @code{printf} calls but also calls to functions such as @code{fprintf_unfiltered}. @item -Wparentheses |