Our immediate and long-term goal is to fully support the C subsets of ISO C++. ... We recommend that C developers use the C++ compiler to compile C code (using /TP if the file is named something.c). This is the best choice for using Visual C++ to compile C code. ... If you really need either of the following: features in C95/C99/C11 that are not part of ISO C++; or features in C that are in the C++ subset but without also enabling the writing of C++ code; then we recommend that you consider using a different compiler such as Intel or gcc (short-term) and/or pressure your standards committee representatives to have ISO C++ include more of the C standard (longer-term). Sutter http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and-c99/ |