[Development] __has_include vs GCC

Stephen Kelly steveire at gmail.com
Thu Feb 9 00:52:03 CET 2017


Marc Mutz wrote:

> Hi,
> 
> I just filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433
> complaining that __has_include returns true for headers which then, when
> included, #error out about the wrong C++ standard used.

In my opinion, the problem is sd-6 defining feature macros in the header 
that contains the implementation, instead of in a single header. 

There are many reasons not to do that, but the opinion of the chair is 
bonkers and no one else has an opinion:

 https://www.mail-archive.com/features@isocpp.open-std.org/msg00018.html

 https://www.mail-archive.com/features@isocpp.open-std.org/msg00162.html

Thanks,

Steve.





More information about the Development mailing list