Skip to content
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

Fix compile error for c++20 #460

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Fix compile error for c++20 #460

merged 1 commit into from
Jul 31, 2024

Conversation

jsharpe
Copy link
Contributor

@jsharpe jsharpe commented Jul 29, 2024

See: https://stackoverflow.com/questions/76449282/workaround-for-dynamic-formatting-specs-with-fmt

fmt::format takes a consteval string when built with c++20 so wrap in fmt::runtime to allow this to compile when using c++20 or newer.

@Tom94
Copy link
Collaborator

Tom94 commented Jul 31, 2024

Thanks!

@Tom94 Tom94 merged commit daf9628 into NVlabs:master Jul 31, 2024
13 checks passed
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.

2 participants