https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78905
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Matt Clarkson from comment #2) > Because wehen I compile with clang against the libstdc++ the problem will > still occur and __GNUC__ will not be defined. N.B. Clang does define __GNUC__ but it always defines it to 4 (and defines __GNUC_MINOR__ to 1 and __GNUC_PATCHLEVEL__ to 2, because it identifies as GCC 4.1.2, the last release Apple shipped for their OS).