cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: warning: ISO C does not support the 'I64' ms_printf length modifier

From: Guenter <lists_at_gknw.net>
Date: Sun, 01 Jul 2012 13:47:16 +0200

Marc,
Am 01.07.2012 12:00, schrieb Marc Hoersken:
> 2012/6/30 Guenter<lists_at_gknw.net>:
>> so my build has the additional flag -Wno-pedantic-ms-format - my guess is
>> that this might fix the warnings for your build too, and that your compiler
>> is not correctly detected as mingw in configure, probably due to no correct
>> triplet (i586-mingw32msvc-gcc vs. i686-pc-mingw32-gcc) ...
>
> i586-mingw32msvc may not be a valid triplet, but that is the name
> Debian uses for the mingw32 toolchain.
no, its not related - as I posted in my follow-up ...

> Yes, I just added the GCC version to the description of my Linux and
> Windows builds (both on Debian 6).
ah, thanks! now seems clear: 4.4.4 seems not to support the
-Wno-pedantic-ms-format flag; it seems this was introduced with 4.5.x:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25502

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-01