On Sun, Jun 14, 2009 at 8:23 PM, Jan Kiszka <jan.kiszka@web.de> wrote:
Blue Swirl wrote:
> On 6/14/09, Jan Kiszka <jan.kiszka@web.de> wrote:
>> [ I can't check the situation with cygwin, so this is mingw-only. ]
>>
>>  gcc still does not support the Windows-specific format string modifier
>>  "I64". Therefore, it makes no sense to check for format string
>>  correctness and generate tons of false positives.
>
> I don't have this problem, currently mingw builds with zero warnings
> for me. But I didn't enable automatic -Werror flag for mingw just
> because I guessed this would happen. What's the gcc version you're
> using?

i686-pc-mingw32-gcc (GCC) 4.3.3

Jan

JFYI, for years there was a mingw32 patch for the format strings that wasn't merged into the mainline gcc. It was in the MinGW patches for at least 4 years. Not sure if it was merged now or not..

Best regards,
Filip Navara