curl-library
Re: curl_off_t suffix
From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 14 Aug 2008 20:34:45 +0200
Date: Thu, 14 Aug 2008 20:34:45 +0200
2008/8/14, Dan Fandrich wrote:
> > > so you may want to investigate whether setting __STDC_CONSTANT_MACROS would
> > > ever be necessary.
> >
> > Hmm. I wouldn't be too much worried with this, after all the compiler
> > will understand them if they are used.
>
> The problem is that the INT64_C macros won't be defined without that
> definition, at least in some contexts. But it sounds like the INT64_C
> approach is moot.
Yep the INT64_Capproach is now dead and out of business. ;-)
Just committed take three at trying to detect signed and unsigned
curl_off_t integer constant suffixes, using a test-and-try suffix
approach letting the compiler validate it.
Lets see what explodes this time.
-- -=[Yang]=-Received on 2008-08-14