[PATCH] [libstdc++] add _GLIBCXX_CLANG to workaround predefined __clang__

Alexandre Oliva oliva@adacore.com
Fri May 31 17:40:03 GMT 2024


On May 31, 2024, Matthias Kretz <m.kretz@gsi.de> wrote:

> So __clang__ is turning into the next __GNUC__ ;)

Yeah :-(

> So passing -D__clang__=17 -D_GLIBCXX_CLANG=1 is possible? Should it be?

I thought setting them independently could give us some testing
flexibility, thought it's not for the faint of heart ;-)

-- 
Alexandre Oliva, happy hacker            https://FSFLA.org/blogs/lxo/
   Free Software Activist                   GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity
Excluding neuro-others for not behaving ""normal"" is *not* inclusive


More information about the Libstdc++ mailing list