You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think it's a good idea to define WIN32_LEAN_AND_MEAN there because it may break users who include windows.h without this macro and use these rare features. There are two alternative solutions:
Define FMT_USE_WINDOWS_H to 0 if you don't need Windows error reporting functionality and Unicode converters provided by C++ Format.
Define WIN32_LEAN_AND_MEAN yourself if you are OK with potential issues.
This can be done in the same place where you define FMT_HEADER_ONLY.
It's WindowsError exception and report_windows_error function that automatically translate the error code returned by GetLastError() into a text message. The formatting functions don't use this, so if you don't use this either, spdlog won't be affected.
and this for example breaks boost and other libs
The text was updated successfully, but these errors were encountered: