[mapserver-users] compiling on windows

Florin A. pianosnake at gmail.com
Mon Apr 7 17:36:46 EDT 2008


Hi Tamas,

I added MSVC_VER=1400

I call nmake like this:

C:\projects\mapserver-5.0.2>nmake /f Makefile.vc MSVC_VER=1400


The errors are the same as before:

C:\projects\mapserver-5.0.2>nmake /f Makefile.vc MSVC_VER=1400

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE
/D_CRT_NONSTDC_NO_DEPRECATE -IC:/projects/gdwin32  -Ic:\projects\map
server-5.0.2\..\jpeg-6b   -IC:\projects\proj-4.4.9/src
-IC:\projects\regex-0.12
-Ic:\projects\mapserver-5.0.2\..\zlib-1.2.3
  -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP
-DNEED_STRLCAT    -DUSE_PROJ -DUSE_PROJ_API_H  -DUSE_JPEG -DUSE_GD_PNG
 -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT
-DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW  -DUSE_WMS_SVR -DUSE
_THREAD    -DIGNORE_MISSING_DATA   -DENABLE_STDERR_DEBUG
-DUSE_GD_ANTIALIAS       -DUSE_ZLIB    -DWIN32 -D_WIN32 /c C:\projects\r
egex-0.12\regex.c /FoC:\projects\regex-0.12\regex.obj
regex.c
C:\projects\regex-0.12\regex.c(768) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(774) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1123) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1189) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1204) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1297) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1322) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1336) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1346) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1358) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1364) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1372) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1608) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1638) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1683) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1698) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1726) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1813) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1926) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1932) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1937) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1941) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1945) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1949) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1953) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1957) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1975) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(2023) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(2027) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(2042) : warning C4013: 'free' undefined;
assuming extern returning int
C:\projects\regex-0.12\regex.c(2236) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(2784) : warning C4013: 'abort' undefined;
assuming extern returning int
C:\projects\regex-0.12\regex.c(2834) : warning C4047: '=' : 'regoff_t *'
differs in levels of indirection from 'int'
C:\projects\regex-0.12\regex.c(3313) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3403) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3427) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3480) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3496) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3760) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3771) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3918) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3971) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4079) : warning C4018: '>=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4110) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4123) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4293) : warning C4018: '>=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3771) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(3918) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(3971) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4110) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4123) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4876) : warning C4996: 'errcode' was declared
deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
        Message: 'This name was supported during some Whidbey pre-releases.
Instead, use the standard name errno_t.'
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'preg' : name in formal
parameter list illegal
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf' : name in
formal parameter list illegal
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf_size' : name in
formal parameter list illegal
C:\projects\regex-0.12\regex.c(4877) : error C2055: expected formal
parameter list, not a type list
C:\projects\regex-0.12\regex.c(4877) : error C2082: redefinition of formal
parameter 'errcode'
C:\projects\regex-0.12\regex.c(4885) : warning C4996: 'errcode' was declared
deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
        Message: 'This name was supported during some Whidbey pre-releases.
Instead, use the standard name errno_t.'
C:\projects\regex-0.12\regex.c(4885) : error C2059: syntax error : 'type'
C:\projects\regex-0.12\regex.c(4893) : error C2275: 'errcode' : illegal use
of this type as an expression
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080407/a7e513fa/attachment-0001.html


More information about the mapserver-users mailing list