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

Formatting year_month_day does not work on clang 18.1.0 or earlier, on GCC 13.3 and earlier #4074

Closed
remyjette opened this issue Jul 16, 2024 · 2 comments

Comments

@remyjette
Copy link

With clang, formatting year_month_day only compiles in Compiler Explorer on trunk. 18.1.0 and earlier do not compile.
If I switch to -stdlib=libc++, it doesn't compile on trunk either.

With GCC, formatting year_month_day only compiles in Compiler Explorer on 14.1 or trunk. 13.3 and earlier do not compile.

https://godbolt.org/z/3ahfo1eKd

Given that the year_month_day type itself is available and fmt supports these compilers I would love to see support.

@vitaut
Copy link
Contributor

vitaut commented Jul 17, 2024

We check __cpp_lib_chrono which is technically correct but a PR to enable the use of these chrono types more widely would be welcome.

@vitaut
Copy link
Contributor

vitaut commented Oct 9, 2024

Closing as there doesn't seem to be much interest in this but a PR would still be welcome.

@vitaut vitaut closed this as completed Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants