[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is this mingw bug?



On Sun, Feb 10, 2008 at 05:57:51PM +0100, Sven Joachim wrote:
> > Is it wingw, wine, or windows?
> 
> It is MinGW's printf implementation that is different.  The first
> Google hit searching for "mingw long long" shows that:
> 
> http://www.mingw.org/MinGWiki/index.php/long%20long
> 
> > And how do I use long long int variables on windows platform?
> 
> Just as on GNU/Linux, only the format specifier in *printf() is
> different.
> >         printf("Big number: %lld\n", tick);
>                               ^^^^
>            In MinGW, you need %I64d instead.

Thank you. Now it works!

So it seems to be windows bug after all :)

Misko


Reply to: