[postgis-devel] release status

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Mon Feb 21 08:01:35 PST 2005


> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net 
> [mailto:postgis-devel-bounces at postgis.refractions.net] On 
> Behalf Of strk at refractions.net
> Sent: 21 February 2005 15:11
> To: 'PostGIS Development Discussion'
> Subject: Re: [postgis-devel] release status

> Would uchar be ok ?
> --strk;


Hi strk,

As far as I can tell, an unsigned char would be fine. FWIW here is the
complete error output from a compile of PostGIS 1.0-RC2 under Win32:


cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1plus.exe: warning: -fPIC ignored for target (all code is position 
   independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
lex.yy.c:3027: warning: `yyunput' defined but not used
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
vsprintf.c:131: warning: no previous prototype for `vasprintf'
vsprintf.c:147: warning: no previous prototype for `asprintf'
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
In file included from lwgeom_ogc.c:22:
wktparse.h:11: warning: redefinition of `byte'
c:/MinGW/include/rpcndr.h:50: warning: `byte' previously declared here
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
In file included from lwgeom_geos.c:10:
wktparse.h:11: warning: redefinition of `byte'
c:/MinGW/include/rpcndr.h:50: warning: `byte' previously declared here
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
In file included from lwgeom_inout.c:29:
wktparse.h:11: warning: redefinition of `byte'
c:/MinGW/include/rpcndr.h:50: warning: `byte' previously declared here
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
lwgeom_estimate.c:102:1: warning: "min" redefined
In file included from c:/MinGW/include/windows.h:48,
                 from
C:/msys/1.0/home/mca/pg80rc5/postgresql-8.0.0rc5/src/include/pg_config_os.h:
7,
                 from
C:/msys/1.0/home/mca/pg80rc5/postgresql-8.0.0rc5/src/include/c.h:85,
                 from
C:/msys/1.0/home/mca/pg80rc5/postgresql-8.0.0rc5/src/include/postgres.h:48,
                 from lwgeom_estimate.c:20:
c:/MinGW/include/windef.h:143:1: warning: this is the location of the
previous definition
lwgeom_estimate.c:103:1: warning: "max" redefined
c:/MinGW/include/windef.h:140:1: warning: this is the location of the
previous definition
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
In file included from lwgeom_functions_basic.c:16:
wktparse.h:11: warning: redefinition of `byte'
c:/MinGW/include/rpcndr.h:50: warning: `byte' previously declared here
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
In file included from lwgeom_dump.c:22:
wktparse.h:11: warning: redefinition of `byte'
c:/MinGW/include/rpcndr.h:50: warning: `byte' previously declared here
shpopen.c:176: warning: `rcsid' defined but not used
dbfopen.c:200: warning: `rcsid' defined but not used
getopt.c:115: warning: conflicting types for built-in function `strncmp'
getopt.c:602: warning: no previous prototype for `getopt'
shp2pgsql.c: In function `parse_cmdline':
shp2pgsql.c:1102: warning: implicit declaration of function `getopt'
pgsql2shp.c: In function `parse_commandline':
pgsql2shp.c:2289: warning: implicit declaration of function `getopt'


The -fPIC warnings are a little noisy but I don't think they will affect the
resulting library. There are a couple of min/maxs that need to be replaced
with the PostGIS equivalent along with a change for the 'byte' type.
Interestingly enough, shp2pgsql/pgsql2shp show an issue trying to access the
getopt() function too. I'm not sure about the vsprintf() error, although it
looks as if it may be a bug in MingW.


Kind regards,

Mark.

------------------------
WebBased Ltd
South West Technology Centre
Tamar Science Park
Plymouth
PL6 8BT 

T: +44 (0)1752 791021
F: +44 (0)1752 791023
W: http://www.webbased.co.uk
 







More information about the postgis-devel mailing list