-
Notifications
You must be signed in to change notification settings - Fork 13
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
cxx.features.modules crash with freestanding gcc #219
Comments
Hm, interesting. Do you have any of the headers from this list: https://github.com/build2/build2/blob/master/libbuild2/cc/guess.cxx#L3426 Perhaps |
I do not. :) export module foo;
export auto main ([[maybe_unused]] const int argc, [[maybe_unused]] char *argv[]) {
} |
It doesn't seem not having any std headers in freestanding is conforming: https://eel.is/c++draft/compliance Though I see |
The fix is available in the latest staged toolchain. |
Oops, we misunderstood each others, the compiler has the usual headers available in freestanding. Thanks for the quick fix! |
Using freestanding gcc causes a crash if we enable
cxx.features.modules
The text was updated successfully, but these errors were encountered: