Skip to content

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