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/configure.in | |
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/configure.in')
-rw-r--r-- | gdb/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 38792e0..89940de 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -976,7 +976,7 @@ AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) # NOTE: If you add to this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ --Wformat -Wparentheses -Wpointer-arith -Wuninitialized" +-Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral" # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual |