HP-UX aCC - rt_api.c compilation fails for void pointer arithmetic
|Reported by:||HAkhtar||Owned by:||Bborie Park|
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: * [rt_api.o] Error 2 make: Leaving directory `/dev/postgis/postgis/raster/rt_core' make: * [corelib] Error 2 make: Leaving directory `/dev/postgis/postgis/raster' make: * [all] Error 1 ==============
GCC works fine at it treats void pointer as char pointer in arithmetic operations.