<br><br><div class="gmail_quote">2008/11/29 Steve Lime <span dir="ltr">&lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok, no worries. Could someone validate that maplexer.c works for them? I had to rebuild on my Mac<br>
but that&#39;s typical. Just want to make sure it works on Linux ok. I generated on SuSE 9...<br>
</blockquote><div><br><span style="color: rgb(51, 51, 255);">I&#39;ve just tried on Windows with MSVC80(x86) and failed. See the output below;</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">Best regards,</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Tamas</span><br><br><br>Microsoft (R) Program Maintenance Utility Version 8.00.50727.762<br>
Copyright (C) Microsoft Corporation.&nbsp; All rights reserved.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_N<br>ONSTDC_NO_DEPRECATE -IE:\builds\release-1400\include -IE:\builds\regex-0.12 -DHA<br>
VE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -<br>DNEED_STRRSTR -DUSE_POSTGIS&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H&nbsp; -DUSE_JPEG -DUSE_GD_P<br>NG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -<br>
DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR -DUSE_WMS_SVR -DUSE_THREAD<br>-DUSE_WMS_LYR -DUSE_MING_FLASH -DIGNORE_MISSING_DATA&nbsp;&nbsp; -DENABLE_STDERR_DEBUG&nbsp;&nbsp; -<br>DUSE_GDAL -DUSE_FASTCGI&nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR&nbsp;&nbsp;&nbsp; -DUSE_GD_A<br>
NTIALIAS&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR&nbsp;&nbsp; -DUSE_AGG&nbsp;&nbsp; -DWIN<br>32 -D_WIN32 /c maprgbapng.c /Fomaprgbapng.obj<br>maprgbapng.c<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_N<br>
ONSTDC_NO_DEPRECATE -IE:\builds\release-1400\include -IE:\builds\regex-0.12 -DHA<br>VE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -<br>DNEED_STRRSTR -DUSE_POSTGIS&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H&nbsp; -DUSE_JPEG -DUSE_GD_P<br>
NG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -<br>DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR -DUSE_WMS_SVR -DUSE_THREAD<br>-DUSE_WMS_LYR -DUSE_MING_FLASH -DIGNORE_MISSING_DATA&nbsp;&nbsp; -DENABLE_STDERR_DEBUG&nbsp;&nbsp; -<br>
DUSE_GDAL -DUSE_FASTCGI&nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR&nbsp;&nbsp;&nbsp; -DUSE_GD_A<br>NTIALIAS&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR&nbsp;&nbsp; -DUSE_AGG&nbsp;&nbsp; -DWIN<br>32 -D_WIN32 /c mapbits.c /Fomapbits.obj<br>mapbits.c<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_N<br>ONSTDC_NO_DEPRECATE -IE:\builds\release-1400\include -IE:\builds\regex-0.12 -DHA<br>VE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -<br>
DNEED_STRRSTR -DUSE_POSTGIS&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H&nbsp; -DUSE_JPEG -DUSE_GD_P<br>NG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -<br>DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR -DUSE_WMS_SVR -DUSE_THREAD<br>
-DUSE_WMS_LYR -DUSE_MING_FLASH -DIGNORE_MISSING_DATA&nbsp;&nbsp; -DENABLE_STDERR_DEBUG&nbsp;&nbsp; -<br>DUSE_GDAL -DUSE_FASTCGI&nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR&nbsp;&nbsp;&nbsp; -DUSE_GD_A<br>NTIALIAS&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR&nbsp;&nbsp; -DUSE_AGG&nbsp;&nbsp; -DWIN<br>
32 -D_WIN32 /c maphash.c /Fomaphash.obj<br>maphash.c<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_N<br>ONSTDC_NO_DEPRECATE -IE:\builds\release-1400\include -IE:\builds\regex-0.12 -DHA<br>
VE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -<br>DNEED_STRRSTR -DUSE_POSTGIS&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H&nbsp; -DUSE_JPEG -DUSE_GD_P<br>NG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -<br>
DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR -DUSE_WMS_SVR -DUSE_THREAD<br>-DUSE_WMS_LYR -DUSE_MING_FLASH -DIGNORE_MISSING_DATA&nbsp;&nbsp; -DENABLE_STDERR_DEBUG&nbsp;&nbsp; -<br>DUSE_GDAL -DUSE_FASTCGI&nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR&nbsp;&nbsp;&nbsp; -DUSE_GD_A<br>
NTIALIAS&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR&nbsp;&nbsp; -DUSE_AGG&nbsp;&nbsp; -DWIN<br>32 -D_WIN32 /c mapshape.c /Fomapshape.obj<br>mapshape.c<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_N<br>
ONSTDC_NO_DEPRECATE -IE:\builds\release-1400\include -IE:\builds\regex-0.12 -DHA<br>VE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -<br>DNEED_STRRSTR -DUSE_POSTGIS&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H&nbsp; -DUSE_JPEG -DUSE_GD_P<br>
NG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -<br>DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR -DUSE_WMS_SVR -DUSE_THREAD<br>-DUSE_WMS_LYR -DUSE_MING_FLASH -DIGNORE_MISSING_DATA&nbsp;&nbsp; -DENABLE_STDERR_DEBUG&nbsp;&nbsp; -<br>
DUSE_GDAL -DUSE_FASTCGI&nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR&nbsp;&nbsp;&nbsp; -DUSE_GD_A<br>NTIALIAS&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR&nbsp;&nbsp; -DUSE_AGG&nbsp;&nbsp; -DWIN<br>32 -D_WIN32 /c mapxbase.c /Fomapxbase.obj<br>mapxbase.c<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_N<br>ONSTDC_NO_DEPRECATE -IE:\builds\release-1400\include -IE:\builds\regex-0.12 -DHA<br>VE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -<br>
DNEED_STRRSTR -DUSE_POSTGIS&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H&nbsp; -DUSE_JPEG -DUSE_GD_P<br>NG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -<br>DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR -DUSE_WMS_SVR -DUSE_THREAD<br>
-DUSE_WMS_LYR -DUSE_MING_FLASH -DIGNORE_MISSING_DATA&nbsp;&nbsp; -DENABLE_STDERR_DEBUG&nbsp;&nbsp; -<br>DUSE_GDAL -DUSE_FASTCGI&nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR&nbsp;&nbsp;&nbsp; -DUSE_GD_A<br>NTIALIAS&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR&nbsp;&nbsp; -DUSE_AGG&nbsp;&nbsp; -DWIN<br>
32 -D_WIN32 /c mapparser.c /Fomapparser.obj<br>mapparser.c<br>mapparser.c(1753) : warning C4102: &#39;yyerrlab1&#39; : unreferenced label<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_N<br>
ONSTDC_NO_DEPRECATE -IE:\builds\release-1400\include -IE:\builds\regex-0.12 -DHA<br>VE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -<br>DNEED_STRRSTR -DUSE_POSTGIS&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H&nbsp; -DUSE_JPEG -DUSE_GD_P<br>
NG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -<br>DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR -DUSE_WMS_SVR -DUSE_THREAD<br>-DUSE_WMS_LYR -DUSE_MING_FLASH -DIGNORE_MISSING_DATA&nbsp;&nbsp; -DENABLE_STDERR_DEBUG&nbsp;&nbsp; -<br>
DUSE_GDAL -DUSE_FASTCGI&nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR&nbsp;&nbsp;&nbsp; -DUSE_GD_A<br>NTIALIAS&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR&nbsp;&nbsp; -DUSE_AGG&nbsp;&nbsp; -DWIN<br>32 -D_WIN32 /c maplexer.c /Fomaplexer.obj<br>maplexer.c<br>
maplexer.l(68) : warning C4013: &#39;msyy_delete_buffer&#39; undefined; assuming extern<br>returning int<br>maplexer.l(71) : warning C4013: &#39;msyy_scan_string&#39; undefined; assuming extern re<br>turning int<br>maplexer.l(72) : error C2065: &#39;msyyin&#39; : undeclared identifier<br>
maplexer.l(72) : warning C4047: &#39;=&#39; : &#39;int&#39; differs in levels of indirection fro<br>m &#39;void *&#39;<br>maplexer.l(92) : warning C4047: &#39;=&#39; : &#39;int&#39; differs in levels of indirection fro<br>
m &#39;void *&#39;<br>maplexer.l(387) : error C2065: &#39;msyytext&#39; : undeclared identifier<br>maplexer.l(388) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>f indirection from &#39;int&#39;<br>
maplexer.l(388) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(388) : error C2109: subscript requires array or pointer type<br>maplexer.l(393) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(393) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(393) : error C2109: subscript requires array or pointer type<br>maplexer.l(394) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(394) : warning C4024: &#39;atof&#39; : different types for formal and actual<br>parameter 1<br>maplexer.l(400) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(400) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(400) : error C2109: subscript requires array or pointer type<br>maplexer.l(405) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(405) : warning C4024: &#39;atof&#39; : different types for formal and actual<br>parameter 1<br>maplexer.l(410) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(410) : warning C4024: &#39;atof&#39; : different types for formal and actual<br>parameter 1<br>maplexer.l(416) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(416) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(416) : error C2109: subscript requires array or pointer type<br>maplexer.l(418) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(418) : warning C4024: &#39;msParseTime&#39; : different types for formal and<br>actual parameter 1<br>maplexer.l(425) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(425) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(425) : error C2109: subscript requires array or pointer type<br>maplexer.l(431) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(431) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(431) : error C2109: subscript requires array or pointer type<br>maplexer.l(432) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(432) : warning C4024: &#39;strdup&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(439) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(439) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(439) : error C2109: subscript requires array or pointer type<br>maplexer.l(445) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(445) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(445) : error C2109: subscript requires array or pointer type<br>maplexer.l(446) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(446) : warning C4024: &#39;strdup&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(453) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(453) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(453) : error C2109: subscript requires array or pointer type<br>maplexer.l(459) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(459) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(459) : error C2109: subscript requires array or pointer type<br>maplexer.l(465) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(465) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(465) : error C2109: subscript requires array or pointer type<br>maplexer.l(474) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>
f indirection from &#39;int&#39;<br>maplexer.l(474) : warning C4024: &#39;msBuildPath&#39; : different types for formal and<br>actual parameter 3<br>maplexer.l(474) : warning C4047: &#39;=&#39; : &#39;int&#39; differs in levels of indirection fr<br>
om &#39;FILE *&#39;<br>maplexer.l(480) : warning C4013: &#39;msyy_switch_to_buffer&#39; undefined; assuming ext<br>ern returning int<br>maplexer.l(480) : warning C4013: &#39;msyy_create_buffer&#39; undefined; assuming extern<br>
&nbsp;returning int<br>maplexer.l(487) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>f indirection from &#39;int&#39;<br>maplexer.l(487) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>
l parameter 1<br>maplexer.l(487) : error C2109: subscript requires array or pointer type<br>maplexer.l(493) : warning C4047: &#39;function&#39; : &#39;const char *&#39; differs in levels o<br>f indirection from &#39;int&#39;<br>
maplexer.l(493) : warning C4024: &#39;strlen&#39; : different types for formal and actua<br>l parameter 1<br>maplexer.l(493) : error C2109: subscript requires array or pointer type<br>maplexer.l(495) : warning C4047: &#39;=&#39; : &#39;char *&#39; differs in levels of indirection<br>
&nbsp;from &#39;int&#39;<br>maplexer.l(511) : error C2109: subscript requires array or pointer type<br>maplexer.l(528) : warning C4047: &#39;initializing&#39; : &#39;char *&#39; differs in levels of<br>indirection from &#39;int&#39;<br>
maplexer.l(560) : error C2109: subscript requires array or pointer type<br>maplexer.l(560) : warning C4033: &#39;yylex&#39; must return a value<br>NMAKE : fatal error U1077: &#39;&quot;C:\Program Files (x86)\Microsoft Visual Studio 8\VC<br>
\BIN\cl.EXE&quot;&#39; : return code &#39;0x2&#39;<br>Stop.<br>NMAKE : fatal error U1077: &#39;&quot;C:\Program Files (x86)\Microsoft Visual Studio 8\VC<br>\BIN\nmake.EXE&quot;&#39; : return code &#39;0x2&#39;<br>Stop.<br>
&nbsp;<br></div></div>