aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-12-07 07:52:20 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2000-12-07 07:52:20 +0000
commit1c248308f49a5410b9e69330a924f264707625d7 (patch)
treec1e3c842a16f18e46f1ed159b69069f9fbf87597 /gcc/c-decl.c
parent014e7f1d30678868964dcfbeaef278736ff932f5 (diff)
downloadgcc-1c248308f49a5410b9e69330a924f264707625d7.zip
gcc-1c248308f49a5410b9e69330a924f264707625d7.tar.gz
gcc-1c248308f49a5410b9e69330a924f264707625d7.tar.bz2
c-common.c (check_format_info): Warn for non-constant format strings with strftime formats if -Wformat-nonliteral.
* c-common.c (check_format_info): Warn for non-constant format strings with strftime formats if -Wformat-nonliteral. Where the format can convert arguments, if the format is not a string literal and there are no arguments to the format, give a different warning message from the general non-string-literal case. testsuite: * gcc.dg/format-nonlit-3.c: New test. From-SVN: r38105
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions