[Python-Dev] vs2005 Project Patch and Configuration Inquiry

Kristján Valur Jónsson kristjan at ccpgames.com
Sat May 26 19:57:17 CEST 2007

> -----Original Message-----
> From: python-dev-bounces+kristjan=ccpgames.com at python.org
> The PCbuild8 solution needs to be corrected.  A patch is attached.
Thanks, I'll apply it.

> In addition, I noticed that under C++/Advanced Properties, all the
> configurations appear to be set to "Compile as C++ Code" with the /TP
> argument.  Should these be set to "Compile as C Code" with the /TC
> argument?

Interesting. I hadn't noticed.  I investigated, and this is the default
value for all projects.  However, if you click a single .c file and
check its properties, you will find that it gets the /TC flag in its
advanced settings.  So each file will be correctly compiled. (you can
confirm this by checking the command line).  Removing the /TP flag from
the project settings also results in the disappearance of the per-file
/TC setting.
Very curious.  In end effect, the C files are compiled as such and there
is no need for panic.


More information about the Python-Dev mailing list