Compiler warnings with gcc 4.x on maporaclespatial.c
OS: 32bit Linux (Kubuntu)
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
mapserver 4.6.1
all warnings come from "strcpy( last_oci_call_ms_error, "message_text" );"
maporaclespatial.c: In function TRY:
maporaclespatial.c:285: warning: pointer targets in passing argument 1 of
strcpy differ in signedness
maporaclespatial.c:288: warning: pointer targets in passing argument 1 of
strcpy differ in signedness
maporaclespatial.c:291: warning: pointer targets in passing argument 1 of
strcpy differ in signedness
maporaclespatial.c:294: warning: pointer targets in passing argument 1 of
strcpy differ in signedness
maporaclespatial.c: In function ERROR:
maporaclespatial.c:313: warning: pointer targets in passing argument 2 of
msSetError differ in signedness
maporaclespatial.c: In function msOCISetHandlers:
maporaclespatial.c:572: warning: pointer targets in passing argument 4 of
OCILogon differ in signedness
maporaclespatial.c:572: warning: pointer targets in passing argument 6 of
OCILogon differ in signedness
maporaclespatial.c:572: warning: pointer targets in passing argument 8 of
OCILogon differ in signedness
maporaclespatial.c: In function msOCIConvertCircle:
maporaclespatial.c:878: warning: pointer targets in passing argument 1 of
strcpy differ in signedness
maporaclespatial.c: In function msOracleSpatialLayerNextShape:
maporaclespatial.c:1823: warning: pointer targets in passing argument 1 of
atol differ in signedness
maporaclespatial.c:1835: warning: pointer targets in passing argument 1 of
strlen differ in signedness
maporaclespatial.c:1843: warning: pointer targets in passing argument 2 of
strcpy differ in signedness
maporaclespatial.c:1844: warning: pointer targets in passing argument 1 of
strlen differ in signedness
maporaclespatial.c: In function msOracleSpatialLayerGetShape:
maporaclespatial.c:2126: warning: pointer targets in passing argument 1 of
strlen differ in signedness
maporaclespatial.c:2135: warning: pointer targets in passing argument 2 of
strcpy differ in signedness
maporaclespatial.c:2136: warning: pointer targets in passing argument 1 of
strlen differ in signedness
maporaclespatial.c: In function msOracleSpatialLayerGetExtent:
maporaclespatial.c:2302: warning: pointer targets in passing argument 1 of
strlen differ in signedness
maporaclespatial.c:2311: warning: pointer targets in passing argument 2 of
strcpy differ in signedness
maporaclespatial.c:2312: warning: pointer targets in passing argument 1 of
strlen differ in signedness
I committed the code with the fix in the SVN this afternoon. The revision is 6435. If the problem persist you can reopen the bug. Best regards.