title: Compiling libffi with VS2012 fails with fatal error LNK1281: Unable to generate SAFESEH image
body: <p>Compiling libffi with VS11 gives the following linker error</p>
  
  <pre><code>libffi\libffi-3.0.9\ms\Win32\Debug\ffi.dll : fatal error LNK1281: Unable to generate SAFESEH image.
  </code></pre>
  
  <p>The same project was compiling fine with VS10, but after an auto upgrade with VS2012, it started giving linker error</p>
  
  <p>The Explanation in <a href="http://msdn.microsoft.com/en-us/library/afa9eakh%28v=vs.80%29.aspx" rel="noreferrer">MSDN</a> is too cryptic and least helpful</p>
  
  <p>I might rebuild with <code>/SAFESEH:NO</code> , but I am unsure of the implication.</p>
  
  <p>Please advise what might go wrong.</p>