Hi Frank, <br><br>I forgot the rest....<br><br>C:\projects\regex-0.12\regex.c(4079) : warning C4018: '>=' : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(4110) : warning C4018: '<=' : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(4123) : warning C4018: '<=' : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(4293) : warning C4018: '>=' : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(3771) : warning C4101: 'destination' : unreferenced local variable<br>
C:\projects\regex-0.12\regex.c(3918) : warning C4101: 'destination' : unreferenced local variable<br>C:\projects\regex-0.12\regex.c(3971) : warning C4101: 'destination' : unreferenced local variable<br>C:\projects\regex-0.12\regex.c(4110) : warning C4101: 'destination' : unreferenced local variable<br>
C:\projects\regex-0.12\regex.c(4123) : warning C4101: 'destination' : unreferenced local variable<br>C:\projects\regex-0.12\regex.c(4876) : warning C4996: 'errcode' was declared deprecated<br> C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506) : see declaration of 'errcode'<br>
Message: 'This name was supported during some Whidbey pre-releases. Instead, use the standard name errno_t.'<br>C:\projects\regex-0.12\regex.c(4876) : error C2081: 'preg' : name in formal parameter list illegal<br>
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf' : name in formal parameter list illegal<br>C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf_size' : name in formal parameter list illegal<br>
C:\projects\regex-0.12\regex.c(4877) : error C2055: expected formal parameter list, not a type list<br>C:\projects\regex-0.12\regex.c(4877) : error C2082: redefinition of formal parameter 'errcode'<br>C:\projects\regex-0.12\regex.c(4885) : warning C4996: 'errcode' was declared deprecated<br>
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506) : see declaration of 'errcode'<br> Message: 'This name was supported during some Whidbey pre-releases. Instead, use the standard name errno_t.'<br>
C:\projects\regex-0.12\regex.c(4885) : error C2059: syntax error : 'type'<br>C:\projects\regex-0.12\regex.c(4893) : error C2275: 'errcode' : illegal use of this type as an expression<br> C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506) : see declaration of 'errcode'<br>
C:\projects\regex-0.12\regex.c(4910) : warning C4996: 'strcpy' was declared deprecated<br> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRE<br>
CATE. See online help for details.'<br>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'<br>Stop.<br><br><br><br><br><br><br><br><br>
<br><br><br><div class="gmail_quote">On Mon, Apr 7, 2008 at 2:03 PM, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Florin A. wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I'm trying to compile MapServer on Windows Server 2003. I followed all the instructions on <a href="http://mapserver.gis.umn.edu/docs/howto/win32_compiling" target="_blank">http://mapserver.gis.umn.edu/docs/howto/win32_compiling</a> and I'm stuck with regex errors. The errors are the same as this post <a href="http://www.mail-archive.com/mapserver-users@lists.umn.edu/msg15996.html" target="_blank">http://www.mail-archive.com/mapserver-users@lists.umn.edu/msg15996.html</a> <br>
I'm compiling with nmake from Microsoft Visual Studio 8<br>
<br>
I also tried compiling with the buildkit from <a href="http://download.osgeo.org/buildkit/" target="_blank">http://download.osgeo.org/buildkit/</a> and got the same errors.<br>
<br>
regex.c<br>
C:\projects\regex-0.12\regex.c(768) : warning C4018: '<' : signed/unsigned mismatch<br>
</blockquote>
...<br>
</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
C:\projects\regex-0.12\regex.c(1953) : warning C4018: '>' : signed/unsigned mismatch<br>
<br>
<br>
I tried the correction mentioned for the regex.c file:<br>
<br>
//extern void printchar ();<br>
void printchar( int i ) {}<br>
<br>
<br>
This made no difference. I also tried with the win32 regex distribution from <a href="http://people.delphiforums.com/gjc/gnu_regex.exe" target="_blank">http://people.delphiforums.com/gjc/gnu_regex.exe</a> and again, exactly the same errors.<br>
<br>
Has anybody else encountered this regex error? Shouldn't nmake work with no problems on the buildkit ? <br>
</blockquote>
<br></div>
Florin,<br>
<br>
The above are just warnings. I would encourage you to just ignore them<br>
and proceed.<br>
<br>
Best regards,<br><font color="#888888">
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | President OSGeo, <a href="http://osgeo.org" target="_blank">http://osgeo.org</a><br>
<br>
</font></blockquote></div><br>