This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/79433] __has_include(<new header>) is true but #include <new header> gives #error when -std=old


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

--- Comment #19 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #16)
> Even if we moved our headers to separate directories, it wouldn't make
> __has_include sufficient..

Could you explain why? It would be a pain for other compilers using libstdc++
to add a suitable list of directories, but I don't immediately see why that
would fail.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]