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?
Pelles C version 7.00 (Release Candidate is available now)
Your best bet is probably Clang. See the release notes for the current release and the upcoming one.
GCC 4.9 supports generic selection . It is in general bugfixing stage before release. http://gcc.gnu.org/gcc-4.9/changes.html
I think Clang supports generic selection.
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