问题
I'm using VS 2010. I have changed the settings for compiler C code instead of C++. It works fine, but the problem is MS compilers don't supports C99 standard,for this reason I'm looking for a C compiler that can works with VS 10. How to do this? Thanks in advance.
回答1:
MS visual studio don't support c99, however they have implemented certain features of c99.
From this Microsoft page, their reply for c99 support:
Question by a user:
"I would like to see C99 support available in Visual Studio. The amount of work to add C99 support should pale in comparison to C++0x.
As the compiler for the dominant PC platform, Microsoft should really try harder to implement a standard that's over 10 years old -- especially because the C community is arguably larger than the C# or C++ community."
Microsoft's reply:
"Unfortunately 1) There are many, many more users of the Microsoft C++ compiler than there are of the C compiler; 2) Anytime we do customers discussion and/or solicit feedback the overwhelming response is that we should focus on C++ (especially at the moment C++-0x); 3) We just don't have the resources to do everything we would like. So while we are slowly improving our C-99 support (and we are active in the C-1x discussions) I can't promise we'll add any of these features."
来源:https://stackoverflow.com/questions/10710791/how-to-change-the-compiler-of-vs