[Bug libstdc++/79433] __has_include does not conform to SD-6

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 9 07:50:00 GMT 2017


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |libstdc++

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Marc Mutz from comment #9)
> __has_include these days is defined by SD-6, and while not spelled out in
> normative text, the intent is very much for it to be able to detect presence
> of a header for inclusion.

Then the bug is in the header (library) and not in the preprocessor or the
front-end.


More information about the Gcc-bugs mailing list