[cfe-users] How to detect trait keywords that have reverted to identifiers

2016-08-31 Thread Andy Gibbs via cfe-users
Hi, I'm having a problem that maybe someone here knows a good solution to. I have headers that use the clang type-trait built-ins, for example __is_void. However, using these headers will throw spurious errors if certain system headers are included before them. Here is a minimal bit of code t

[cfe-users] How to detect trait keywords that have reverted to identifiers

2016-08-31 Thread Andy Gibbs via cfe-users
Hi, I'm having a problem that maybe someone here knows a good solution to. I have headers that use the clang type-trait built-ins, for example __is_void. However, using these headers will throw spurious errors if certain system headers are included before them. Here is a minimal bit of code t