[postgis-devel] ready for 1.1.6 ?

Markus Schaber schabi at logix-tt.com
Thu Nov 2 01:35:27 PST 2006


Hi, Strk,

strk at refractions.net wrote:

>> I reactivated a PPC-linux box (g4 mac mini) to run the regression tests:
>>
>> with geos2.2.1 and postgres 8.1:
>> both 1.1.5 and 1.1.6-cvs (rev. 2520) did run fine.
>>
>> But there are two compiler-warnings which are not there on amd64/i386:
>>
>>  lwgeom_api.c: In function 'lwgeom_serialized_construct':
>>  lwgeom_api.c:1303: warning: comparison is always false due to limited range of data type
> 
> Could you try using an explicit cast:
> 
> -               if (type == -1)
> +               if (type == (char)-1)
> 
>>  wktunparse.c: In function 'unparse_WKB':
>>  wktunparse.c:580: warning: comparison is always false due to limited range of data type
> 
> Could you try using an explicit cast:
> 
> -       if ( endian == -1 )
> +       if ( endian == (char)-1 )

It seems that Ingo is on Holidays now, and I don't have access to that
machine, but I'll see whether I can change that.

HTH
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org



More information about the postgis-devel mailing list