<div class="gmail_extra"><div class="gmail_quote">On Wed, May 2, 2012 at 6:56 AM, Stefan Behnel <span dir="ltr">&lt;<a href="mailto:stefan_ml@behnel.de" target="_blank">stefan_ml@behnel.de</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

I&#39;m not sure if MSVC and MSVC++ are the same thing, but I surely remember<br>
reports by MSVC users only a few years ago that Cython generated C code<br>
contained a declaration after an executed code at some point, and that<br>
failed to compile for them. So, assuming that MSVC++ &quot;added this extension<br>
in the early 90s&quot; and didn&#39;t remove it in the meantime, they must be two<br>
different things.</blockquote><div> </div><div>I believe you need to tell MSVC that it&#39;s a C++ source file by using &quot;/Tp&quot; in order to make this work. And of course, there would be other ramifications for doing that.</div>
<div> </div><div>-Curt</div></div></div>