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

write_floating_seconds: Fall back to ::round #3343

Merged
merged 1 commit into from Mar 12, 2023

Conversation

glebm
Copy link
Contributor

@glebm glebm commented Mar 12, 2023

On some toolchains, std::round is not available.

Fixes #3342

On some toolchains, `std::round` is not available.

Fixes fmtlib#3342
@glebm
Copy link
Contributor Author

glebm commented Mar 12, 2023

Godbolt: https://godbolt.org/z/GfE3MaT15

@vitaut vitaut merged commit 7f88291 into fmtlib:master Mar 12, 2023
38 checks passed
@vitaut
Copy link
Contributor

vitaut commented Mar 12, 2023

Thank you!

@glebm glebm deleted the fix-round-gcc6-amiga branch March 12, 2023 16:43
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.

gcc6 error: 'round' is not a member of 'std' (amigaos-m68k)
2 participants