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

--- Comment #21 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #20)
> A solution that only work for GCC isn't a very good solution, because the
> whole point of the feature-test macros is to have portable checks that work
> across implementations. I've spoken to the libc++ maintainers and they are
> strongly opposed to lots of different sub-directories.

Ah, so it would work, but the issue is that libc++ refuses to do the same.
Since Microsoft is ignoring SD6 as well, it makes this portability mechanism
useless. Ok, thanks. I guess the pragma idea is not bad. (in principle we could
use multiple subdirectories in libstdc++ and let libc++ use pragmas, but using
the pragmas is probably easier for libstdc++ as well)

(I didn't find a corresponding PR in llvm's bugzilla)

Reply via email to