-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
compilation fails with C++14 and Intel C++ 2019 beta #742
Comments
It looks like the Intel C++ compiler doesn't support UDL templates. Does replacing #if FMT_USE_USER_DEFINED_LITERALS && \
((FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L) || \
(defined(FMT_CLANG_VERSION) && FMT_CLANG_VERSION >= 304)) with #if FMT_USE_USER_DEFINED_LITERALS && !defined(FMT_ICC_VERSION) && \
((FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L) || \
(defined(FMT_CLANG_VERSION) && FMT_CLANG_VERSION >= 304)) in https://github.com/fmtlib/fmt/blob/master/include/fmt/format.h#L118 fixes the issue? |
vitaut
added a commit
that referenced
this issue
May 26, 2018
Committed a tentative fix (fba352a). However, I wasn't able to verify it since I don't have an Intel compiler at hand, so feel free to reopen if the problem persists. |
fba352a appears to have fixed it. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If compiling with the Intel C++ 2019 beta and C++14 enabled, compilation fails:
Host info:
Compiler info:
The text was updated successfully, but these errors were encountered: