On Wed, May 2, 2012 at 6:56 AM, Stefan Behnel <stefan...@behnel.de> wrote:

> I'm not sure if MSVC and MSVC++ are the same thing, but I surely remember
> reports by MSVC users only a few years ago that Cython generated C code
> contained a declaration after an executed code at some point, and that
> failed to compile for them. So, assuming that MSVC++ "added this extension
> in the early 90s" and didn't remove it in the meantime, they must be two
> different things.


I believe you need to tell MSVC that it's a C++ source file by using "/Tp"
in order to make this work. And of course, there would be other
ramifications for doing that.

-Curt
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to