如何改变VS的编译器? [英] How to change the compiler of VS?

查看:1322
本文介绍了如何改变VS的编译器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是2010年VS我已经改变了编译器C $ C $的C而不是C的设置++。它工作正常,但问题是MS编译器不支持C99标准,为此我正在寻找一个C编译器,可以与VS 10.工作如何做到这一点?先谢谢了。

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.

推荐答案

MS Visual Studio中不支持C99,但他们已经实施<一个href=\"http://stackoverflow.com/questions/9610747/which-c99-features-are-available-in-the-ms-visual-studio-compiler\">certain功能 C99的。

MS visual studio don't support c99, however they have implemented certain features of c99.

从这个微软页面,其对C99的支持回复

From this Microsoft page, their reply for c99 support:

按用户问题:

Question by a user:

我想看看C99可支持在Visual Studio中。该
  添加C99支持的工作量应该比较苍白到C ++ 0x中。

"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.

由于编译器为主导PC平台,微软应该真的
  更努力地去实现一个标准,就是10岁以上 -
  特别是因为C社区可以说是比C#或更大
  C ++社区。

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:

不幸的是1)是Microsoft的C很多,更多的用户++
  编译器之外还有C编译器; 2)任何时候我们做客户
  讨论和/或征求反馈热烈响应是
  我们应着眼于C ++(特别是在目前的C ++ - 0X); 3)我们只
  没有资源做我们希望的一切。因此,虽然我们
  正在缓慢改善我们的C-99支持(我们是活跃在C-1X
  讨论)我不能保证,我们将添加任何的这些功能​​。

"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."

这篇关于如何改变VS的编译器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆