Please note, I am subscribed to the list. No need to CC me on reply. Ozkan Sezer wrote:
> A question, though: Are you using gcc-3.4.5 or 4.4.0 as the mingw.org > compiler for your w32 builds? I think the warning may be a gcc-4.4+ > thing and not actually a mingw-w64 issue, but I don't know for sure. Now that I've checked, it seems a little more complicated than I first thought. The mingw32 compiler that I'm using is the one from the Ubuntu 9.04 mingw32 package. It reports its version as: gcc version 4.2.1-sjlj (mingw32-2) This compiler JustWorks(tm) and accepts '%zd" in printf/snprintf as well as the other C99 format string stuff. The mingw32 package on Debian Sid is: gcc version 4.4.1 (GCC) and it too gives a warning on both c99 and gnu99. For this compiler, not even -D__USE_MINGW_ANSI_STDIO=1 can fix it. Me, I'd just like to compile the one piece of source code on as many systems as possible without hacking it to bits with #ifdefs. I'd also like, where possible, to get the compiler using apt-get, instead of compling it myself. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public