<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi devs,<br>
<br>
I've been trying to configure debugging a x64 version of MapServer
on Windows in Visual Studio, but variables are shown as corrupt or
missing. <br>
Full details are posted at <a
href="http://stackoverflow.com/questions/36120712/cannot-see-variables-when-debugging-a-x64-bit-dll-in-visual-studio"><a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/36120712/cannot-see-variables-when-debugging-a-x64-bit-dll-in-visual-studio">http://stackoverflow.com/questions/36120712/cannot-see-variables-when-debugging-a-x64-bit-dll-in-visual-studio</a></a><br>
I initially thought this was a config issue on my side, but there is
a suggestion it could be memory corruption within MapServer. <br>
When compiling I get 100s of warnings similar to the following: <br>
<br>
..\mapcrypto.c(391) : warning C4244: '=' : conversion from
'ms_uint32' to 'char', possible loss of data<br>
maptime.c<br>
..\maptime.c(176) : warning C4244: '=' : conversion from
'__time64_t' to 'long', possible loss of data<br>
mapproject.c<br>
..\mapproject.c(1336) : warning C4267: '+=' : conversion from
'size_t' to 'int', possible loss of data<br>
<br>
I presume these will simply truncate data rather than be a possible
cause for the debugging issues I encounter?<br>
<br>
A couple of other warnings that may be more relevant:<br>
<br>
/Users/tbonfort/dev/mapserver/mapparser.c(370) : warning C4273:
'malloc' : inconsistent dll linkage<br>
c:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\stdlib.h(601) : see previous definition of 'malloc'<br>
/Users/tbonfort/dev/mapserver/mapparser.c(377) : warning C4273:
'free' : inconsistent dll linkage<br>
c:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\stdlib.h(600) : see previous definition of 'free'<br>
<br>
Thanks for any insights you may be able to provide. I can create
tickets for the warnings if that is useful?<br>
<br>
Regards,<br>
<br>
Seth<br>
<br>
<div class="moz-text-html" lang="x-western"> <font color="#888888">--<br>
web:</font><a href="http://geographika.co.uk"><font
color="#888888"> </font>http://geographika.co.uk</a><br>
<font color="#888888">twitter: @geographika<br>
</font><br>
</div>
<br>
</body>
</html>