Opened 11 years ago
Closed 11 years ago
#2589 closed defect (fixed)
HP-UX aCC - rt_api.c compilation fails for void pointer arithmetic
Reported by: | HAkhtar | Owned by: | dustymugs |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.5 |
Component: | raster | Version: | 2.0.x |
Keywords: | history | Cc: |
Description
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.
Attachments (1)
Change History (3)
by , 11 years ago
Attachment: | hpux_acc_rt_api_c.patch added |
---|
comment:1 by , 11 years ago
Component: | postgis → raster |
---|---|
Owner: | changed from | to
comment:2 by , 11 years ago
Keywords: | history added; aCC HP-UX Compilation Failure rt_api.c removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
A possible fix for the problem