<div dir="ltr">I run x64 MapServer on Windows with no problems.  I used a build from <a href="http://www.gisinternals.com/">http://www.gisinternals.com/</a>.<div><br></div><div>I had the idea to build it myself in debug but abandoned that effort because I did not have confidence that some of the dependent libraries would function properly using a released version of the CRT when chunks of Map Server were built in debug.</div><div><br></div><div>If someone has had success in doing this then I'd like know that.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 22, 2016 at 5:03 PM, Seth G <span dir="ltr"><<a href="mailto:geographika@gmail.com" target="_blank">geographika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div 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" target="_blank"></a><a href="http://stackoverflow.com/questions/36120712/cannot-see-variables-when-debugging-a-x64-bit-dll-in-visual-studio" target="_blank">http://stackoverflow.com/questions/36120712/cannot-see-variables-when-debugging-a-x64-bit-dll-in-visual-studio</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 lang="x-western"> <font color="#888888">--<br>
        web:</font><a href="http://geographika.co.uk" target="_blank"><font color="#888888"> </font>http://geographika.co.uk</a><br>
      <font color="#888888">twitter: @geographika<br>
      </font><br>
    </div>
    <br>
  </div>

<br>_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br></blockquote></div><br></div>