aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-12-07 07:56:44 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2000-12-07 07:56:44 +0000
commitc907e684899b80f605c6f318ac47d825cefd5e04 (patch)
treeb5375290ebf0a5a6f82ddbfa46e51e6bde6dbb84 /libjava/java
parent1c248308f49a5410b9e69330a924f264707625d7 (diff)
downloadgcc-c907e684899b80f605c6f318ac47d825cefd5e04.zip
gcc-c907e684899b80f605c6f318ac47d825cefd5e04.tar.gz
gcc-c907e684899b80f605c6f318ac47d825cefd5e04.tar.bz2
c-common.c (warn_format_security): New variable.
* c-common.c (warn_format_security): New variable. (check_format_info): Warn about non-literal formats with no format arguments if either -Wformat-nonliteral or -Wformat-security is specified. (set_Wformat): Set warn_format_security for settings other than 1. * c-common.h (warn_format_security): Declare. * c-decl.c (c_decode_option): Decode -Wformat-security and -Wno-format-security. * invoke.texi: Document -Wformat-security. * toplev.c (documented_lang_options): Include -Wformat-security and -Wno-format-security. cp: * decl2.c (lang_decode_option): Handle -Wformat-security. testsuite: * format-sec-1.c: New test. From-SVN: r38106
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions