[postgis-tickets] [PostGIS] #2589: HP-UX aCC - rt_api.c compilation fails for void pointer arithmetic
PostGIS
trac at osgeo.org
Fri Dec 27 03:05:30 PST 2013
#2589: HP-UX aCC - rt_api.c compilation fails for void pointer arithmetic
----------------------------------------------------+-----------------------
Reporter: HAkhtar | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.5
Component: postgis | Version: 2.0.x
Keywords: aCC HP-UX Compilation Failure rt_api.c |
----------------------------------------------------+-----------------------
I have found that PostGIS is not getting compiled on HPUX with aCC
compiler.
PostGIS compilation is failing with the following error:
==============
"rt_api.c", line 8446: error #2852: expression must be a pointer to a
complete object type
ptr += (nXValid * ptlen);
^
1 error detected in the compilation of "rt_api.c".
make[2]: *** [rt_api.o] Error 2
make[2]: Leaving directory `/dev/postgis/postgis/raster/rt_core'
make[1]: *** [corelib] Error 2
make[1]: Leaving directory `/dev/postgis/postgis/raster'
make: *** [all] Error 1
==============
GCC works fine at it treats void pointer as char pointer in arithmetic
operations.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2589>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list