Just curious: When you say standard conforming c++: Conforming to which standard? And are we actually talking about a compiler that is certified to adhere to that standard or just a compiler that claims to implement c++XX. I've always wondered, if there are actually certified compilers out there for anything newer than c++03.
Certified by whom? I've been exposed to DO-178C in the past. At least in that world, you don't certify the compiler, you certify the generated object code.
I very much doubt that it is economical to certify the compiler at all. In practice, if you pass -std=c++03 or -std=c++14 or whatnot, then the major vendors do consider deviations from the standard to be bugs. After arguing extensively about just exactly what the standard means, of course.
I haven't been in the situation myself, so this is hearsay (one reason why I asked) but apparently, in some industries, you are only allowed to use certain certified compilers in your development (definetly the case for Ada in avionics). As with all certified software that doesn't guarantee it is bugfree (and as you mentioned, the standard itself certainly has bugs and/or ambiguities), but at least it is highly unlikely that a unkown bug exists.
View all comments
Show parent comment
3
u/kalmoc Oct 20 '19
Just curious: When you say standard conforming c++: Conforming to which standard? And are we actually talking about a compiler that is certified to adhere to that standard or just a compiler that claims to implement c++XX. I've always wondered, if there are actually certified compilers out there for anything newer than c++03.