[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: about lposix
- From: Mike Pall <mikelu-0610@...>
- Date: Wed, 18 Oct 2006 13:57:56 +0200
Hi,
Nick Gammon wrote:
> printf ("%lld", x);
>
> But, if I compile like this: gcc test.c -mno-cygwin -o test
> And test it: ./test
> I get this: 0
MinGW links against MSVCRT6, so you don't have to install any
DLLs. But then you have to live with its quirks. One of them is
that it's not C99 compliant and doesn't handle %lld.
You can try:
#define LUA_INTFRMLEN "I64"
Yes, this gives %I64d. Proprietary M$ stuff *sigh*. But I'm not
sure whether this is already supported in V6 or only in later
versions.
Bye,
Mike