hello,<br><span class="gI"><br>i try to wrap a c library.<br><br>when trying to compile with setup.py, the visual studio compiler always gives me hundreds of those error messages: &quot;error C2059: syntax error : &#39;string&#39;&quot;<br>
<br>i did some experiments with a manually created visual studio project and figured out that compiling works if i rename the generated .c file to .cpp. i guess the pure c compiling mode of visual studio is a bit touchy about the files of the library i want to wrap?<br>
<br>is there a way (some setup.py setting?) to cause pyrex/cython to create .cpp files instead of .c files? or can the c++ mode of visual studio be forced somehow?<br></span>