This is the mail archive of the
mailing list for the GCC project.
Re: Dealing with compilers that pretend to be GCC
James Dennett <firstname.lastname@example.org> skribis:
> If there were a defined way to test for extensions from within C (or
> C++), then this problem would be much reduced. Clang has something of
> a framework to query support for different features, and I drafted a
> proposal for something similar that would work across different
> compilers (with the intension of tracking C++11 features as they roll
> out), but that proposal went nowhere (I was too late for it to be
> useful for C++11 in any case).
It would still be useful, though, and a net improvement over the