Compilers that support C11

丶灬走出姿态 提交于 2019-11-27 11:40:52

问题


I was wondering if there are any compilers that support a considerable amount of the new C11 standard. Looking for features like Generic Selection etc.

Any suggestions?


回答1:


Pelles C version 7.00 (Release Candidate is available now)

http://www.smorgasbordet.com/pellesc/




回答2:


Your best bet is probably Clang. See the release notes for the current release and the upcoming one.




回答3:


GCC 4.9 supports generic selection . It is in general bugfixing stage before release. http://gcc.gnu.org/gcc-4.9/changes.html




回答4:


I think Clang supports generic selection.




回答5:


Intel 18 supports nearly all of C11 and supported generic selection starting in version 16.

https://software.intel.com/en-us/articles/c11-support-in-intel-c-compiler

Cray 8.5 documents support for C11 here but I haven't tested it thoroughly. I recall that atomics have been supported for a while, because they are necessary for this project to work on Cray machines.

Full disclosure: I work for Intel, but not in the compiler team.



来源:https://stackoverflow.com/questions/9804594/compilers-that-support-c11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!