[geos-devel] GEOS-3.0.0rc1 in a week, SWIG status ?
Michael Fuhr
mike at fuhr.org
Thu Jul 6 19:27:53 EDT 2006
On Thu, Jul 06, 2006 at 11:32:22PM +0200, strk at refractions.net wrote:
> <stdint.h> was added to allow testing of int64_t.
> When building with -pedantic the 'long long' is warned about,
> while using int64_t is accepted nicely.
> I guess that every system having a 64bit "long long" also
> has an int64_t, we just need to find the appropriate header...
<inttypes.h> is available on Solaris, FreeBSD, and Linux; I don't
know about other platforms but it's part of the Open Group Base
Specifications (however, so is <stdint.h>, which Solaris 9 doesn't
have). I just remembered that we've discussed <stdint.h> and
<inttypes.h> before:
http://postgis.refractions.net/pipermail/postgis-users/2006-February/011031.html
On Solaris 9, gcc 3.4.2 with -ansi doesn't define int64_t (even
when including <inttypes.h>), and with -pedantic it warns about
long long. With -ansi -pedantic -Wno-long-long it recognizes long
long without complaint.
--
Michael Fuhr
More information about the geos-devel
mailing list