[Bug libstdc++/78905] Add a macro to determine that the <regex> library is implemented
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 19 17:22:00 GMT 2017
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).
More information about the Gcc-bugs
mailing list