title: Linker error LNK2038: mismatch detected in Release mode
body: <p>I am trying to port a small app of mine from Win XP and VS 2005 to Win 7 and VS 2010.</p>
  
  <p>The app compiles and runs smoothly in Debug mode, however in Release mode I get the following error:</p>
  
  <pre><code>pcrecpp.lib(pcrecpp.obj) : error LNK2038: mismatch detected for 
  '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in LoginDlg.obj
  </code></pre>
  
  <p>Where should I start checking?</p>