[geos-devel] Pedantic build of GEOS

strk at refractions.net strk at refractions.net
Tue Mar 21 06:20:06 EST 2006


On Tue, Mar 21, 2006 at 12:17:43PM +0100, Mateusz Å?oskot wrote:
> strk at refractions.net wrote:
> >By building with -pedantic on I get warnings  about the use of 'long
> >long'.
> 
> I attached report with complete output from my try.
> 
> >Do you have suggestion as how to change it to a standard name ?
> 
> AFAIK there is no standard way to solve the problem.
> C99 and gcc provides support of 64 integral type as long long.
> Microsoft VC++ supports it too in form of type named as __int64.
> 
> So, I think the only solution is to wrap it in #ifdef's and typedef's.

We should already be doing this, in platform.h
still gcc with -ansi -pedantic  warns about the fact that long long
is NOT ansi (but a GCC extension).

--strk;



More information about the geos-devel mailing list