https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Marc Mutz from comment #9)
> __has_include these days is defined by SD-6,

Nope, it's defined normatively in the C++17 draft not SD-6, and it says a
"has-include-expression evaluates to 1 if the search for the source file
succeeds, and to 0 if the search fails." That is very clear, and we do exactly
that. The intended use case in SD-6 is not relevant, the C++ draft standard is
clear, and we conform to it.

Reply via email to