<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 8, 2016 at 4:21 PM,  <span dir="ltr"><<a href="mailto:clinton@elemtech.com" target="_blank">clinton@elemtech.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div><div>If you are going to use /MD instead of /MDd, then you probably also need to remove the _DEBUG preprocessor flag.</div><div>IIRC, I've seen cases where defining _DEBUG includes symbols only defined by the debug runtimes.</div><div><br></div><div>Clint</div></div></div></div></blockquote></div><br></div><div class="gmail_extra">What a surprise. Removing _DEBUG did the trick. I was under the impression _DEBUG only controls Microsoft STL impl's debug iterator stuff but apparently it also makes the resulting exe link with /MD rather than /MDd. Guess that was wrong.</div><div class="gmail_extra"><br></div><div class="gmail_extra">So yes, problem solved.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thank you!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Stephan</div></div>