Closed AlexanderBarnt closed 1 month ago
Hi @AlexanderBarnt and thanks for opening this issue!
main.cpp
, identical to the file BS_thread_pool_test.cpp
from this repository? If the code for your main.cpp
is different, please post it here.BS_thread_pool_test.ps1
, which will compile the test program with MSVC compiler flags that I know for certain work. Let me know if that works or not. If not, then the problem is probably in one of the extra compiler flags you are using, so please try removing some of them and seeing if that works.
Tried to compile the test program in the repository -> tests/BS_thread_pool_test.cpp
System information
Operating system: Windows 10 64-bit
Name and version of C++ compiler: tried different toolsets: VC++ 2022, 2019 and 2017, SDK version: 10.0.22621.0
Full command used for compiling, including all compiler flags:
/JMC /permissive- /GS /analyze- /W3 /Zc:wchar_t /I"X:\thread-pool-4.1.0\compiled\include" /ZI /Gm- /Od /sdl /Fd"C:\Users\user\Desktop\C++ Console Project6\.VSObjects\C++ Console Project6\x86\Debug\vc141.pdb" /Zc:inline /fp:precise /D "_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" /D "_UNICODE" /D "UNICODE" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /std:c++17 /FC /Fa"C:\Users\user\Desktop\C++ Console Project6\.VSObjects\C++ Console Project6\x86\Debug\" /EHsc /nologo /Fo"C:\Users\user\Desktop\C++ Console Project6\.VSObjects\C++ Console Project6\x86\Debug\" /Fp"C:\Users\user\Desktop\C++ Console Project6\.VSObjects\C++ Console Project6\x86\Debug\C++ Console Project6.pch" /diagnostics:classic
Thread pool library version: 4.1.0
Log file