-
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
Failed to detect trunk clang to support pre-compiled format #4000
Comments
yujincheng08
changed the title
Failed to detech trunk clang to supoort pre-compiled format
Failed to detect trunk clang to supoort pre-compiled format
Jun 7, 2024
The compiler reports class types in non-type template parameters as not supported: https://godbolt.org/z/5G1ro8G35. But we could check the clang version explicitly and enable this anyway (a PR is welcome). |
You are right, https://en.cppreference.com/w/cpp/compiler_support also mentions this. |
PRed |
vitaut
changed the title
Failed to detect trunk clang to supoort pre-compiled format
Failed to detect trunk clang to support pre-compiled format
Jun 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This one does not compile: https://godbolt.org/z/x315Y9q8Y
However, once we manually define
FMT_USE_NONTYPE_TEMPLATE_ARGS
, it does compile: https://godbolt.org/z/nf1YPfMvGThe text was updated successfully, but these errors were encountered: