-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Conflict with Boost.Asio #179
Comments
Spdlog don't use winsock librrary. Check that you didn't include Winsock2.h before asio. |
I have this same issue. Before I added spdlog, I could compile just fine. After adding the spdlog include file, I keep getting this error. The only way to fix it that I could see was to not use this lib. |
I will forward this to cppformat lib. seems the file spdlog/details/format.cc includes windows.h without defining WIN32_LEAN_AND_MEAN |
As mentioned in fmtlib/fmt#297, I don't think
This requirement should probably be documented in Boost asio somewhere. |
…OWS_H=0 in format.h and preventing include of windows.h)
Fixed in 7945136 |
The same bug reappeared in version v1.6.0. This source code
compiles in v1.5.0, but fails since v1.6.0 with messages like
Tested up to v1.8.0 with Boost v1.67 and MSVC 1900 (2015). |
Hi,
Compiling the following source file with Microsoft Visual C++ 2015 and Boost 1.60.0:
displays the following error:
The text was updated successfully, but these errors were encountered: