[postgis-devel] ready for 1.1.6 ?
strk at refractions.net
strk at refractions.net
Tue Oct 31 08:10:58 PST 2006
On Tue, Oct 31, 2006 at 04:53:39PM +0100, Ingo Klinkmann wrote:
Hello Ingo,
> 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 )
--strk;
More information about the postgis-devel
mailing list