Skip to content

libstdc++: move libc++23convenience.la from experimental to libstdc++ #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

huiyifyj
Copy link

libc++23convenience.la is still in the experimental section, not integrated into the main libstdc++,
which leads to the precompiled static library libstdc++.a not including the necessary C++23 features,
specifically the <print> library.

For Windows MinGW-w64 builds, the following issues are observed:
Even if you specify -std=c++23 flag, you cannot use std::print() and other functions due to missing linkage,
you need to link against the libstdc++exp library manually.


I'm not sure if the C++23 features were intentionally excluded from the libstdc++.a static library, or just forgotten.

huiyifyj added 2 commits July 19, 2025 12:32
…tdc++

Move libc++23convenience.la from libstdc++exp to the main libstdc++ static library
to ensure C++23 features are properly linked into the standard static library.
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.

1 participant