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 broken condition #3129

Merged
merged 1 commit into from Oct 7, 2022
Merged

Fix broken condition #3129

merged 1 commit into from Oct 7, 2022

Conversation

phprus
Copy link
Contributor

@phprus phprus commented Oct 6, 2022

FMT_GCC_VERSION >= 1200 equal to false for all non GCC compilers.
But this condition was added as a workaround for the GCC bug: #3128.

@vitaut
Copy link
Contributor

vitaut commented Oct 6, 2022

Good catch, thanks. Let's keep it a normal condition instead of #ifdef though.

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
@phprus
Copy link
Contributor Author

phprus commented Oct 7, 2022

@vitaut
Fixed.

@mwinterb
Copy link
Contributor

mwinterb commented Oct 7, 2022 via email

@vitaut
Copy link
Contributor

vitaut commented Oct 7, 2022

Should this condition be wrapped with const_check?

I don't think so.

@vitaut vitaut merged commit d2c47c0 into fmtlib:master Oct 7, 2022
@vitaut
Copy link
Contributor

vitaut commented Oct 7, 2022

Thank you!

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.

None yet

3 participants