C99是如何普遍支持? [英] How universally is C99 supported?

查看:389
本文介绍了C99是如何普遍支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何普遍是C99标准支持在今天的编译器?我明白,即使不完全GCC支持它。这是正确的?

How universally is the C99 standard supported in today's compilers ? I understand that not even GCC fully supports it. Is this right ?

C99的支持的功能比别人的,即我可以用相当肯定多于大多数编译器会理解我?

Which features of C99 are supported more than others, i.e. which can I use to be quite sure that most compilers will understand me ?

感谢

推荐答案

如果你想写可以移植的C code,那么我建议你在C89写(旧ANSI C标准)。本标准由大多数编译器的支持。

If you want to write portable C code, then I'd suggest you to write in C89 (old ANSI C standard). This standard is supported by most compilers.

英特尔C编译器有非常好C99支持它产生快速的二进制文件。 (感谢的×69 的!)

The Intel C Compiler has very good C99 support and it produces fast binaries. (Thanks 0x69!)

MSVC支持<一个href=\"http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2013.aspx\"相对=nofollow>一些新的功能和微软的计划,以扩大支持在未来的版本。

MSVC supports some new features and Microsoft plan to broaden support in future versions.

GCC支持C99的一些新的东西。他们创造了一个关于C99的状态表功能。也许C99的最有用的功能是可变长度数组,GCC现在支持它。 (LLVM的C语言主音)支持大多数功能,除了浮点编译指示。

GCC supports some new things of C99. They created a table about the status of C99 features. Probably the most usable feature of C99 is the variable length array, and GCC supports it now. Clang (LLVM's C fronted) supports most features except floating-point pragmas.

维基百科似乎有一个编译器的C99支持的很好的总结。

Wikipedia seems to have a nice summary of C99 support of the compilers.

这篇关于C99是如何普遍支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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