Hi, James Dennett <james.denn...@gmail.com> 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 catch-all __GNUC__. Ludo’.