<br><span class="Apple-style-span" style>my fault, I&#39;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: &#39;InterlockedExchangeAdd&#39; 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 &#39;)&#39; before<br>
identifier &#39;LONG&#39;<br>
mapsymbol.c(130) : error C2065: &#39;LONG&#39; : undeclared identifier<br>
mapsymbol.c(130) : warning C4197: &#39;volatile int&#39; : top-level volatile in<br>
cast is ignored<br>
mapsymbol.c(130) : error C2059: syntax error : &#39;)&#39;<br>
mapsymbol.c(134) : error C2059: syntax error : &#39;if&#39;<br>
mapsymbol.c(135) : error C2059: syntax error : &#39;if&#39;<br>
mapsymbol.c(138) : error C2059: syntax error : &#39;if&#39;<br>
mapsymbol.c(144) : error C2059: syntax error : &#39;if&#39;<br>
mapsymbol.c(145) : error C2143: syntax error : missing &#39;)&#39; before &#39;-&gt;&#39;<br>
mapsymbol.c(145) : error C2143: syntax error : missing &#39;{&#39; before &#39;-&gt;&#39;<br>
mapsymbol.c(145) : error C2059: syntax error : &#39;-&gt;&#39;<br>
mapsymbol.c(145) : error C2059: syntax error : &#39;)&#39;<br>
mapsymbol.c(146) : error C2143: syntax error : missing &#39;)&#39; before &#39;-&gt;&#39;<br>
mapsymbol.c(146) : error C2143: syntax error : missing &#39;{&#39; before &#39;-&gt;&#39;<br>
mapsymbol.c(146) : error C2059: syntax error : &#39;-&gt;&#39;<br>
mapsymbol.c(146) : error C2059: syntax error : &#39;)&#39;<br>
mapsymbol.c(147) : error C2059: syntax error : &#39;if&#39;<br>
mapsymbol.c(148) : error C2059: syntax error : &#39;if&#39;<br>
mapsymbol.c(150) : error C2059: syntax error : &#39;if&#39;<br>
mapsymbol.c(153) : error C2059: syntax error : &#39;return&#39;<br>
mapsymbol.c(154) : error C2059: syntax error : &#39;}&#39;<br>
mapsymbol.c(579) : warning C4013: &#39;loadSymbol&#39; undefined; assuming<br>
extern returning int<br>
mapsymbol.c(636) : warning C4244: &#39;=&#39; : conversion from &#39;double&#39; to<br>
&#39;int&#39;, possible loss o<br>
f data<br>
mapsymbol.c(639) : warning C4244: &#39;=&#39; : conversion from &#39;double&#39; to<br>
&#39;int&#39;, possible loss o<br>
f data<br>
mapsymbol.c(640) : warning C4244: &#39;=&#39; : conversion from &#39;double&#39; to<br>
&#39;int&#39;, possible loss o<br>
f data<br>
mapsymbol.c(641) : warning C4244: &#39;=&#39; : conversion from &#39;double&#39; to<br>
&#39;int&#39;, 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 &#39;)&#39; before<br>
identifier &#39;LONG&#39;<br>
mapsymbol.c(715) : error C2065: &#39;LONG&#39; : undeclared identifier<br>
mapsymbol.c(715) : warning C4197: &#39;volatile int&#39; : top-level volatile in<br>
cast is ignored<br>
mapsymbol.c(715) : error C2059: syntax error : &#39;)&#39;<br>
mapsymbol.c(720) : error C2143: syntax error : missing &#39;{&#39; before &#39;*&#39;<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: &#39;msRemoveSymbol&#39; : redefinition;<br>
different basic types<br>
<br>
d:\build\mapserver-buildkit-2008\mapserver-git-master\mapserver.h(2042)<br>
: see decl<br>
aration of &#39;msRemoveSymbol&#39;<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 &#39;)&#39; before<br>
identifier &#39;LONG&#39;<br>
mapsymbol.c(738) : error C2065: &#39;LONG&#39; : undeclared identifier<br>
mapsymbol.c(738) : warning C4197: &#39;volatile int&#39; : top-level volatile in<br>
cast is ignored<br>
mapsymbol.c(738) : error C2059: syntax error : &#39;)&#39;<br>
mapsymbol.c(739) : warning C4133: &#39;return&#39; : incompatible types - from<br>
&#39;symbolObj *&#39; to &#39;i<br>
nt *&#39;<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: &#39;&quot;C:\Program Files\Microsoft Visual Studio<br>
9.0\VC\BIN\cl.EXE&quot;&#39;<br>
: return code &#39;0x2&#39;<br>
Stop.<br>
***********<br>
<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;mapserver-dev@lists.osgeo.org&#39;)">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>