[mapserver-dev] problem with mapcache on lib/dimension.c (r12979)

Smith, Michael ERDC-CRREL-NH Michael.Smith at usace.army.mil
Sat Jan 7 09:48:03 EST 2012


Thomas,

Looks like there is a missing int declaration on lib/dimension.c for mapcache when compiling without pcre.

This fixed the issue for me

Index: lib/dimension.c
===================================================================
--- lib/dimension.c (revision 12979)
+++ lib/dimension.c (working copy)
@@ -163,7 +163,7 @@
       return;
    }
 #else
-   rc = regcomp(dimension->regex, entry, REG_EXTENDED);
+   int rc = regcomp(dimension->regex, entry, REG_EXTENDED);
    if(rc) {
       char errmsg[200];
       regerror(rc,dimension->regex,errmsg,200);


Mike

--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120107/09b2ad8b/attachment.html


More information about the mapserver-dev mailing list