Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looking over https://en.cppreference.com/w/cpp/compiler_support, it seems there is good conformance on C++11 and C++14 but there are gaps on C++17+ among gcc, msvc, and clang.


The gaps are on the standard library side: clang libc++ has fallen behind a bit on conformance, but you can use libstdc++ on clang as well (and it is the default for example on Linux). MSVC lags on C conformance, which is known not to be primary concern for MS (but still miles better than what it used to be).

In any cases these tables only help up to a point, even green cells often hide bugs and conformance divergences.

Still for most straightforward code compliance across compilers is very good and significantly better than the dark ages of two decades ago.


Completely agree. I'm only calling it out because of the claim "perfectly conformant with the standard".


The compiler is conformant. The STL is not necessarily.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: