[geos-devel] Pedantic build of GEOS
mateusz at loskot.net
Tue Mar 21 06:31:49 EST 2006
strk at refractions.net wrote:
> 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
>>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).
Yes, and it will warn.
I have no idea how to get rid of those warnings.
May be there is some pragma or sth like tis.
But I think warnings like those can be safely ignored.
The advantages is -pedantic will help us to catch more serious
possible problems, I hope so.
More information about the geos-devel