-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Can't build fmt as a module #4234
Comments
Please provide the full error(s) that you get and the compiler versions. |
Testing with the example from https://vitaut.net/posts/2023/simple-cxx20-modules/ GCC 14.2.1 and Clang 18.1.8 are the versions packaged by Arch Linux. For Clang 19.1.3 I used the binaries from llvm-project's github. Clang 19.1.3 (also checked 18.1.8, make output is identical):
GCC 14.2.1:
|
Fixed in a6c45df, thanks for reporting. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Building fmt as a module is currently failing (both GCC and Clang). I used the following:
I've bisected the issue to the following commit: 680db66. The commit immediately before works fine.
PS: Reverting the commit also works.
PS2: Apparently you're not supposed to build fmt directly as a module, but to use it with
add_subdirectory
. Regardless, I get similar errors.The text was updated successfully, but these errors were encountered: