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

Alan Boudreault aboudreault at mapgears.com
Tue Jan 10 19:35:19 EST 2012


FYI, I fixed this in the trunk this morning in another commit.

Alan

On January 7, 2012 09:48:03 am Smith, Michael ERDC-CRREL-NH wrote:
> 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


More information about the mapserver-dev mailing list