Opened 16 years ago
Closed 16 years ago
#2251 closed defect (fixed)
mappdf.c compile warnings ... PDF support broken?
Reported by: | dmorissette | Owned by: | dmorissette |
---|---|---|---|
Priority: | normal | Milestone: | 5.0 release |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | tomkralidis |
Description
mappdf.c produces the following warnings:
mappdf.c: In function 'msDrawLineSymbolPDF': mappdf.c:349: warning: passing argument 1 of 'msSymbolGetDefaultSize' from incompatible pointer type mappdf.c:372: warning: passing argument 3 of 'drawDashedPolylinePDF' from incompatible pointer type mappdf.c: In function 'msDrawShadeSymbolPDF': mappdf.c:718: warning: passing argument 1 of 'msSymbolGetDefaultSize' from incompatible pointer type mappdf.c: In function 'msDrawMarkerSymbolPDF': mappdf.c:773: warning: assignment from incompatible pointer type mappdf.c: In function 'msDrawTextPDF': mappdf.c:1242: warning: assignment makes integer from pointer without a cast
The warning from line 1242 is covered by ticket #2142. The other warnings seem to be side-effects of RFC-24 changes for symbolObj... PDF support is probably completely broken at the moment.
Note:
See TracTickets
for help on using tickets.
Fixed in r6655. All warnings except the last one were related to symbolObj changes and have been fixed. The last warning is still there and will be addressed in #2142.