This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Warning during GCC bootstrap on i686-pc-mingw32
- From: FX <fxcoudert at gmail dot com>
- To: "GCC Development" <gcc at gcc dot gnu dot org>, "Kai Tietz" <Kai dot Tietz at onevision dot com>
- Date: Tue, 15 Apr 2008 16:32:40 +0100
- Subject: Warning during GCC bootstrap on i686-pc-mingw32
I've seen a weird warning during a bootstrap of mainline on native
i686-pc-mingw32, which I guess is related to the recent introduction
of MS printf formats. It can be reproduced on the following small
example:
$ cat foo.i
void format_gcov (void)
{
__builtin_printf ("%I64d", (long long) 1);
}
$ ../prev-gcc/xgcc.exe -S foo.i -pedantic -Wall -Wno-long-long
foo.i: In function 'format_gcov':
foo.i:3: warning: ISO C does not support the '' ms_printf length modifier
I don't think it's the intended behaviour, as the error message is
rather unclear. Is it worth opening a PR?
Thanks,
FX
--
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/