-
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
[MSVC 17.10.5] spdlog::sinks::base_sink<Mutex>::set_pattern() crash #3145
Comments
Maybe duplicate #3119 (comment) MSVC has incompatible changes to |
It looks like that. However, I build everything from sources using cmake and msvc, including third party code (cmake fetch content, spdlog for example), and the crash happens on the same computer, right inside when running in Visual Studio. So I cannot quite figure out how it breaks nor how to fix it. |
Please install the latest version of Microsoft Visual C++ Redistributable (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170) and see if the problem reproduces again. |
The following code crashes for me, when building with MSVC in Release or RelWithDebInfo configurations:
I am using MSVC 17.10.5, Windows 11.
Callstack:
Output in VS:
I suspect this might be caused by some of the compiler/linker flags I set in my project. I moved the code to main but kept my other project the same. Here are all command line options for main.cpp:
The text was updated successfully, but these errors were encountered: