2012/1/20 Ludovic Courtès: > > Yeah, but it’s a shame that those compilers define __GNUC__ without > supporting 100% of the GNU C extensions. With this approach, you would > also need to add !defined for Clang, PGI, and probably others.
May I politely suggest that this is the wrong place to complain about other compilers pretending to be GCC :) If GCC added a __REALLY_GNUC__ macro the other compilers would define it, for exactly the same reasons they define __GNUC__