<br><span class="Apple-style-span" style>my fault, I'm logging in right now to fix it<div><br></div><div>Umberto</div><div><br></div><span></span></span>On Monday, May 7, 2012, Jeff McKenna wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello devs,<br>
<br>
I am trying to compile MapServer/master on Windows (MSVC 2008) and<br>
getting error messages in mapsymbol.c (below). Can anyone give hints to<br>
this possible issue? (branch-6-0 compiles fine)<br>
<br>
Thanks,<br>
<br>
-jeff<br>
<br>
***********<br>
mapsymbol.c<br>
mapsymbol.c(130) : warning C4013: 'InterlockedExchangeAdd' undefined;<br>
assuming extern retu<br>
rning int<br>
mapsymbol.c(130) : warning C4431: missing type specifier - int assumed.<br>
Note: C no longer<br>
supports default-int<br>
mapsymbol.c(130) : error C2146: syntax error : missing ')' before<br>
identifier 'LONG'<br>
mapsymbol.c(130) : error C2065: 'LONG' : undeclared identifier<br>
mapsymbol.c(130) : warning C4197: 'volatile int' : top-level volatile in<br>
cast is ignored<br>
mapsymbol.c(130) : error C2059: syntax error : ')'<br>
mapsymbol.c(134) : error C2059: syntax error : 'if'<br>
mapsymbol.c(135) : error C2059: syntax error : 'if'<br>
mapsymbol.c(138) : error C2059: syntax error : 'if'<br>
mapsymbol.c(144) : error C2059: syntax error : 'if'<br>
mapsymbol.c(145) : error C2143: syntax error : missing ')' before '->'<br>
mapsymbol.c(145) : error C2143: syntax error : missing '{' before '->'<br>
mapsymbol.c(145) : error C2059: syntax error : '->'<br>
mapsymbol.c(145) : error C2059: syntax error : ')'<br>
mapsymbol.c(146) : error C2143: syntax error : missing ')' before '->'<br>
mapsymbol.c(146) : error C2143: syntax error : missing '{' before '->'<br>
mapsymbol.c(146) : error C2059: syntax error : '->'<br>
mapsymbol.c(146) : error C2059: syntax error : ')'<br>
mapsymbol.c(147) : error C2059: syntax error : 'if'<br>
mapsymbol.c(148) : error C2059: syntax error : 'if'<br>
mapsymbol.c(150) : error C2059: syntax error : 'if'<br>
mapsymbol.c(153) : error C2059: syntax error : 'return'<br>
mapsymbol.c(154) : error C2059: syntax error : '}'<br>
mapsymbol.c(579) : warning C4013: 'loadSymbol' undefined; assuming<br>
extern returning int<br>
mapsymbol.c(636) : warning C4244: '=' : conversion from 'double' to<br>
'int', possible loss o<br>
f data<br>
mapsymbol.c(639) : warning C4244: '=' : conversion from 'double' to<br>
'int', possible loss o<br>
f data<br>
mapsymbol.c(640) : warning C4244: '=' : conversion from 'double' to<br>
'int', possible loss o<br>
f data<br>
mapsymbol.c(641) : warning C4244: '=' : conversion from 'double' to<br>
'int', possible loss o<br>
f data<br>
mapsymbol.c(715) : warning C4431: missing type specifier - int assumed.<br>
Note: C no longer<br>
supports default-int<br>
mapsymbol.c(715) : error C2146: syntax error : missing ')' before<br>
identifier 'LONG'<br>
mapsymbol.c(715) : error C2065: 'LONG' : undeclared identifier<br>
mapsymbol.c(715) : warning C4197: 'volatile int' : top-level volatile in<br>
cast is ignored<br>
mapsymbol.c(715) : error C2059: syntax error : ')'<br>
mapsymbol.c(720) : error C2143: syntax error : missing '{' before '*'<br>
mapsymbol.c(720) : warning C4431: missing type specifier - int assumed.<br>
Note: C no longer<br>
supports default-int<br>
mapsymbol.c(720) : error C2371: 'msRemoveSymbol' : redefinition;<br>
different basic types<br>
<br>
d:\build\mapserver-buildkit-2008\mapserver-git-master\mapserver.h(2042)<br>
: see decl<br>
aration of 'msRemoveSymbol'<br>
mapsymbol.c(738) : warning C4431: missing type specifier - int assumed.<br>
Note: C no longer<br>
supports default-int<br>
mapsymbol.c(738) : error C2146: syntax error : missing ')' before<br>
identifier 'LONG'<br>
mapsymbol.c(738) : error C2065: 'LONG' : undeclared identifier<br>
mapsymbol.c(738) : warning C4197: 'volatile int' : top-level volatile in<br>
cast is ignored<br>
mapsymbol.c(738) : error C2059: syntax error : ')'<br>
mapsymbol.c(739) : warning C4133: 'return' : incompatible types - from<br>
'symbolObj *' to 'i<br>
nt *'<br>
mapsymbol.c(815) : warning C4127: conditional expression is constant<br>
mapsymbol.c(828) : warning C4127: conditional expression is constant<br>
mapsymbol.c(834) : warning C4127: conditional expression is constant<br>
mapsymbol.c(837) : warning C4127: conditional expression is constant<br>
mapsymbol.c(839) : warning C4127: conditional expression is constant<br>
mapsymbol.c(840) : warning C4127: conditional expression is constant<br>
mapsymbol.c(855) : warning C4127: conditional expression is constant<br>
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio<br>
9.0\VC\BIN\cl.EXE"'<br>
: return code '0x2'<br>
Stop.<br>
***********<br>
<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'mapserver-dev@lists.osgeo.org')">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</blockquote>