<br><br><div class="gmail_quote">2008/11/29 Steve Lime <span dir="ltr"><<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>></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'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'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. All rights reserved.<br><br> 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 -DUSE_PROJ -DUSE_PROJ_API_H -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 -DENABLE_STDERR_DEBUG -<br>DUSE_GDAL -DUSE_FASTCGI -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_A<br>
NTIALIAS -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR -DUSE_AGG -DWIN<br>32 -D_WIN32 /c maprgbapng.c /Fomaprgbapng.obj<br>maprgbapng.c<br> 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 -DUSE_PROJ -DUSE_PROJ_API_H -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 -DENABLE_STDERR_DEBUG -<br>
DUSE_GDAL -DUSE_FASTCGI -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_A<br>NTIALIAS -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR -DUSE_AGG -DWIN<br>32 -D_WIN32 /c mapbits.c /Fomapbits.obj<br>mapbits.c<br>
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 -DUSE_PROJ -DUSE_PROJ_API_H -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 -DENABLE_STDERR_DEBUG -<br>DUSE_GDAL -DUSE_FASTCGI -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_A<br>NTIALIAS -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR -DUSE_AGG -DWIN<br>
32 -D_WIN32 /c maphash.c /Fomaphash.obj<br>maphash.c<br> 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 -DUSE_PROJ -DUSE_PROJ_API_H -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 -DENABLE_STDERR_DEBUG -<br>DUSE_GDAL -DUSE_FASTCGI -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_A<br>
NTIALIAS -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR -DUSE_AGG -DWIN<br>32 -D_WIN32 /c mapshape.c /Fomapshape.obj<br>mapshape.c<br> 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 -DUSE_PROJ -DUSE_PROJ_API_H -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 -DENABLE_STDERR_DEBUG -<br>
DUSE_GDAL -DUSE_FASTCGI -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_A<br>NTIALIAS -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR -DUSE_AGG -DWIN<br>32 -D_WIN32 /c mapxbase.c /Fomapxbase.obj<br>mapxbase.c<br>
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 -DUSE_PROJ -DUSE_PROJ_API_H -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 -DENABLE_STDERR_DEBUG -<br>DUSE_GDAL -DUSE_FASTCGI -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_A<br>NTIALIAS -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR -DUSE_AGG -DWIN<br>
32 -D_WIN32 /c mapparser.c /Fomapparser.obj<br>mapparser.c<br>mapparser.c(1753) : warning C4102: 'yyerrlab1' : unreferenced label<br> 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 -DUSE_PROJ -DUSE_PROJ_API_H -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 -DENABLE_STDERR_DEBUG -<br>
DUSE_GDAL -DUSE_FASTCGI -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_A<br>NTIALIAS -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR -DUSE_AGG -DWIN<br>32 -D_WIN32 /c maplexer.c /Fomaplexer.obj<br>maplexer.c<br>
maplexer.l(68) : warning C4013: 'msyy_delete_buffer' undefined; assuming extern<br>returning int<br>maplexer.l(71) : warning C4013: 'msyy_scan_string' undefined; assuming extern re<br>turning int<br>maplexer.l(72) : error C2065: 'msyyin' : undeclared identifier<br>
maplexer.l(72) : warning C4047: '=' : 'int' differs in levels of indirection fro<br>m 'void *'<br>maplexer.l(92) : warning C4047: '=' : 'int' differs in levels of indirection fro<br>
m 'void *'<br>maplexer.l(387) : error C2065: 'msyytext' : undeclared identifier<br>maplexer.l(388) : warning C4047: 'function' : 'const char *' differs in levels o<br>f indirection from 'int'<br>
maplexer.l(388) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(393) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(394) : warning C4024: 'atof' : different types for formal and actual<br>parameter 1<br>maplexer.l(400) : warning C4047: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(400) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(405) : warning C4024: 'atof' : different types for formal and actual<br>parameter 1<br>maplexer.l(410) : warning C4047: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(410) : warning C4024: 'atof' : different types for formal and actual<br>parameter 1<br>maplexer.l(416) : warning C4047: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(416) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(418) : warning C4024: 'msParseTime' : different types for formal and<br>actual parameter 1<br>maplexer.l(425) : warning C4047: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(425) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(431) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(432) : warning C4024: 'strdup' : different types for formal and actua<br>l parameter 1<br>maplexer.l(439) : warning C4047: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(439) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(445) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(446) : warning C4024: 'strdup' : different types for formal and actua<br>l parameter 1<br>maplexer.l(453) : warning C4047: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(453) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(459) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(465) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>
f indirection from 'int'<br>maplexer.l(474) : warning C4024: 'msBuildPath' : different types for formal and<br>actual parameter 3<br>maplexer.l(474) : warning C4047: '=' : 'int' differs in levels of indirection fr<br>
om 'FILE *'<br>maplexer.l(480) : warning C4013: 'msyy_switch_to_buffer' undefined; assuming ext<br>ern returning int<br>maplexer.l(480) : warning C4013: 'msyy_create_buffer' undefined; assuming extern<br>
returning int<br>maplexer.l(487) : warning C4047: 'function' : 'const char *' differs in levels o<br>f indirection from 'int'<br>maplexer.l(487) : warning C4024: 'strlen' : 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: 'function' : 'const char *' differs in levels o<br>f indirection from 'int'<br>
maplexer.l(493) : warning C4024: 'strlen' : 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: '=' : 'char *' differs in levels of indirection<br>
from 'int'<br>maplexer.l(511) : error C2109: subscript requires array or pointer type<br>maplexer.l(528) : warning C4047: 'initializing' : 'char *' differs in levels of<br>indirection from 'int'<br>
maplexer.l(560) : error C2109: subscript requires array or pointer type<br>maplexer.l(560) : warning C4033: 'yylex' must return a value<br>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC<br>
\BIN\cl.EXE"' : return code '0x2'<br>Stop.<br>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC<br>\BIN\nmake.EXE"' : return code '0x2'<br>Stop.<br>
<br></div></div>