c-common.c (check_format_info): Warn for a wide character string used as a non-wide...
authorJoseph Myers <jsm28@cam.ac.uk>
Sun, 24 Sep 2000 09:52:53 +0000 (10:52 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sun, 24 Sep 2000 09:52:53 +0000 (10:52 +0100)
commitc5412f0646a072dde262a8643ee2494fd55884eb
treef7852db366acf162e789914802615e9d69b86606
parent1c44c45dbf3b62c14bcd2916365ce090d3af531a
c-common.c (check_format_info): Warn for a wide character string used as a non-wide format argument.

* c-common.c (check_format_info): Warn for a wide character string
used as a non-wide format argument.

testsuite:
* gcc.dg/c90-printf-1.c: Add test for wide string format.

From-SVN: r36586
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c90-printf-1.c