[PATCH] libstdc++: Define macro before it is first checked

Jonathan Wakely jwakely@redhat.com
Thu Sep 2 21:25:46 GMT 2021


On Thu, 2 Sept 2021 at 19:00, Jonathan Wakely wrote:
>
>         * include/bits/atomic_wait.h (_GLIBCXX_HAVE_PLATFORM_WAIT):
>         Define before first attempt to check it.
>
> Tested x86_64-linux and powerpc64-linux, not committed yet.

Actually ignore that ... I tested the wrong patch. This one introduces
a new FAIL, which I have a fix for, but it will have to wait for next
week.


> I think we need this, otherwise __platform_wait_uses_type<T> is false
> for all T.
>
>



More information about the Libstdc++ mailing list