[mapserver-dev] mapsymbol.c errors with master/git

Jeff McKenna jmckenna at gatewaygeomatics.com
Mon May 7 16:39:38 EDT 2012


Hi Umberto,

I've applied the patch, and I get a new error (below).  If you want we
can discuss this within the actual ticket.

-jeff

******
d:\build\mapserver-buildkit-2008\mapserver-git-master\mapparser.h(49) :
error C2059: synta
x error : '='
d:\build\mapserver-buildkit-2008\mapserver-git-master\mapparser.h(86) :
warning C4005: 'IN
' : macro redefinition
        C:\Program Files\Microsoft
SDKs\Windows\v6.0A\include\windef.h(76) : see previous
definition of 'IN'
d:\build\mapserver-buildkit-2008\mapserver-git-master\mapparser.h(108) :
warning C4005: 'D
IFFERENCE' : macro redefinition
        C:\Program Files\Microsoft
SDKs\Windows\v6.0A\include\winuser.h(182) : see previou
s definition of 'DIFFERENCE'
mapparser.c(1456) : warning C4244: '=' : conversion from 'int' to
'yytype_int16', possible
 loss of data
mapparser.c(1500) : warning C4127: conditional expression is constant
mapparser.c(1500) : warning C4127: conditional expression is constant
mapparser.c(1501) : warning C4127: conditional expression is constant
mapparser.c(1501) : warning C4127: conditional expression is constant
mapparser.c(1567) : warning C4127: conditional expression is constant
mapparser.c(2652) : warning C4127: conditional expression is constant
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\cl.EXE"'
: return code '0x2'
Stop.
******



On 12-05-07 4:40 PM, Umberto Nicoletti wrote:
> Can you try the attached patch?
> 
> apply with patch -p0 < patchfile




More information about the mapserver-dev mailing list