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

Move FMT_CLANG_VERSION definition to core.h #1568

Merged
merged 1 commit into from
Mar 1, 2020

Conversation

refnum
Copy link
Contributor

@refnum refnum commented Feb 29, 2020

Previously format.h defined FMT_CLANG_VERSION after including core.h, however core.h tests FMT_CLANG_VERSION when it defines FMT_API.

format.h still defines FMT_ICC_VERSION and FMT_CUDA_VERSION, however given that core.h now defines clang/gcc/msc versions it may be worth moving that version detection into core.h too.

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

Previously format.h defined FMT_CLANG_VERSION after including core.h, however core.h tests FMT_CLANG_VERSION when it defines FMT_API.
@vitaut vitaut merged commit 75a4525 into fmtlib:master Mar 1, 2020
@vitaut
Copy link
Contributor

vitaut commented Mar 1, 2020

Good catch, thanks.

@refnum refnum deleted the clang_version branch March 2, 2020 14:00
teajay-fr pushed a commit to teajay-fr/fmt that referenced this pull request Mar 18, 2020
Previously format.h defined FMT_CLANG_VERSION after including core.h, however core.h tests FMT_CLANG_VERSION when it defines FMT_API.
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

2 participants