Hi Tamas,<br><br>I added MSVC_VER=1400<br><br>I call nmake like this: <br><br>C:\projects\mapserver-5.0.2&gt;nmake /f Makefile.vc MSVC_VER=1400<br><br><br>The errors are the same as before:<br><br>C:\projects\mapserver-5.0.2&gt;nmake /f Makefile.vc MSVC_VER=1400<br>
<br>Microsoft (R) Program Maintenance Utility Version 8.00.50727.42<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_NONSTDC_NO_DEPRECATE -IC:/projects/gdwin32&nbsp; -Ic:\projects\map<br>
server-5.0.2\..\jpeg-6b&nbsp;&nbsp; -IC:\projects\proj-4.4.9/src -IC:\projects\regex-0.12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Ic:\projects\mapserver-5.0.2\..\zlib-1.2.3<br>&nbsp; -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT&nbsp;&nbsp;&nbsp; -DUSE_PROJ -DUSE_PROJ_API_H&nbsp; -DUSE_JPEG -DUSE_GD_PNG<br>
&nbsp;-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW&nbsp; -DUSE_WMS_SVR -DUSE<br>_THREAD&nbsp;&nbsp;&nbsp; -DIGNORE_MISSING_DATA&nbsp;&nbsp; -DENABLE_STDERR_DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_GD_ANTIALIAS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_ZLIB&nbsp;&nbsp;&nbsp; -DWIN32 -D_WIN32 /c C:\projects\r<br>
egex-0.12\regex.c /FoC:\projects\regex-0.12\regex.obj<br>regex.c<br>C:\projects\regex-0.12\regex.c(768) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(774) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1123) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1189) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1204) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1297) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1322) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1336) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1346) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1358) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1364) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1372) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1608) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1638) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1683) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1698) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1726) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1813) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1926) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1932) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1937) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1941) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1945) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1949) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1953) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(1957) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(1975) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(2023) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(2027) : warning C4018: &#39;&gt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(2042) : warning C4013: &#39;free&#39; undefined; assuming extern returning int<br>C:\projects\regex-0.12\regex.c(2236) : warning C4018: &#39;&lt;=&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(2784) : warning C4013: &#39;abort&#39; undefined; assuming extern returning int<br>
C:\projects\regex-0.12\regex.c(2834) : warning C4047: &#39;=&#39; : &#39;regoff_t *&#39; differs in levels of indirection from &#39;int&#39;<br>C:\projects\regex-0.12\regex.c(3313) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(3403) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(3427) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(3480) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(3496) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(3760) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(3771) : warning C4018: &#39;&lt;=&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(3918) : warning C4018: &#39;&lt;=&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(3971) : warning C4018: &#39;&lt;=&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(4079) : warning C4018: &#39;&gt;=&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(4110) : warning C4018: &#39;&lt;=&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(4123) : warning C4018: &#39;&lt;=&#39; : signed/unsigned mismatch<br>C:\projects\regex-0.12\regex.c(4293) : warning C4018: &#39;&gt;=&#39; : signed/unsigned mismatch<br>
C:\projects\regex-0.12\regex.c(3771) : warning C4101: &#39;destination&#39; : unreferenced local variable<br>C:\projects\regex-0.12\regex.c(3918) : warning C4101: &#39;destination&#39; : unreferenced local variable<br>C:\projects\regex-0.12\regex.c(3971) : warning C4101: &#39;destination&#39; : unreferenced local variable<br>
C:\projects\regex-0.12\regex.c(4110) : warning C4101: &#39;destination&#39; : unreferenced local variable<br>C:\projects\regex-0.12\regex.c(4123) : warning C4101: &#39;destination&#39; : unreferenced local variable<br>C:\projects\regex-0.12\regex.c(4876) : warning C4996: &#39;errcode&#39; was declared deprecated<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506) : see declaration of &#39;errcode&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Message: &#39;This name was supported during some Whidbey pre-releases. Instead, use the standard name errno_t.&#39;<br>
C:\projects\regex-0.12\regex.c(4876) : error C2081: &#39;preg&#39; : name in formal parameter list illegal<br>C:\projects\regex-0.12\regex.c(4876) : error C2081: &#39;errbuf&#39; : name in formal parameter list illegal<br>
C:\projects\regex-0.12\regex.c(4876) : error C2081: &#39;errbuf_size&#39; : 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 &#39;errcode&#39;<br>
C:\projects\regex-0.12\regex.c(4885) : warning C4996: &#39;errcode&#39; was declared deprecated<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506) : see declaration of &#39;errcode&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Message: &#39;This name was supported during some Whidbey pre-releases. Instead, use the standard name errno_t.&#39;<br>
C:\projects\regex-0.12\regex.c(4885) : error C2059: syntax error : &#39;type&#39;<br>C:\projects\regex-0.12\regex.c(4893) : error C2275: &#39;errcode&#39; : illegal use of this type as an expression<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506) : see declaration of &#39;errcode&#39;<br>
NMAKE : fatal error U1077: &#39;&quot;C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE&quot;&#39; : return code &#39;0x2&#39;<br>Stop.<br>