Skip to content

Conversation

@kraj
Copy link

@kraj kraj commented Nov 11, 2025

C23/glibc is now including once_init in stdlib.h

https://patchwork.sourceware.org/project/glibc/patch/78061085-f04a-0c45-107b-5a8a15521083@redhat.com/#213088

This is a name collision with the new C once_flag/call_once that glibc exposes (via <stdlib.h>) and C++’s std::once_flag/std::call_once

C23/glibc is now including once_init in stdlib.h

https://patchwork.sourceware.org/project/glibc/patch/78061085-f04a-0c45-107b-5a8a15521083@redhat.com/#213088

This is a name collision with the new C once_flag/call_once that
glibc exposes (via <stdlib.h>) and C++’s std::once_flag/std::call_once

Signed-off-by: Khem Raj <raj.khem@gmail.com>
@matirko
Copy link
Contributor

matirko commented Dec 10, 2025

This fix will be included in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants