-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
build project failed #2713
Comments
I tried to change template <typename Float>
constexpr auto exponent_mask() ->
typename dragonbox::float_info<Float>::carrier_uint {
using uint_ = typename dragonbox::float_info<Float>::carrier_uint;
return ((uint_(1) << dragonbox::float_info<Float>::exponent_bits) - 1)
<< num_significand_bits<Float>();
} |
As far as the first error message is concerned, this is a problem that has already been resolved in the fmt library (not released). However, the compiler reports warning C4459. This is not a bug because you are handling compiler warnings as errors by the compile option Remove the Or use #pragma warning(push)
#pragma warning(disable: 4459)
#include <spdlog/spdlog.h>
#pragma warning(pop) |
Thank you very much! I just found the answer too fmtlib/fmt#3137 |
env:
code:
When I use Clion and MSVC complier build Qt application , it build failed.Error information:
When I changed CMakeLists.txt:
The error info:
I tried two versions (V1.11.0 and V1.10.0), but both had the same results. I don't know the reason
The text was updated successfully, but these errors were encountered: