【问题标题】:Compiling C99 in cl compiler在 cl 编译器中编译 C99
【发布时间】:2015-04-08 11:24:04
【问题描述】:

我正在使用 microsoft cl 编译器(Visual Studio 2013 附带的那个),我正在寻找一个在编译时使用的命令来告诉编译器支持 C99.. 谁能帮我做这件事?

【问题讨论】:

    标签: c visual-studio c99 cl


    【解决方案1】:

    不,没有开关,它始终处于相同的模式。实际上 Visual Studio 2013 并不能正确支持 C99。这种情况在 VS 2015 中会变得更好,因为 C++11 兼容性需要这些特性。但是没有官方的 C99 支持。

    在 VS 2013 中有一个支持的 C99 库功能列表:http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2013.aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-17
      • 1970-01-01
      • 2010-11-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-09
      相关资源
      最近更新 更多