id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12730,windows - static threads library is incompatible with MSVC 2017 RC,z7z7z@…,viboes,"Microsoft Visual C++ 2017 RC While being linked statically with threads library, the EXE exits with the code 255 right after the start. The problem is because of _PVFV/_PIFV function type mixup in /boost/libs/thread/src/win32/tss_pe.cpp - the on_tls_prepare() is expected to return zero, but it does not initialize the return value. Seems that after the refactoring of CRT in VC2017 this inconsistency have become critical. The fix proposed is in the attached version of tss_pe.cpp .",Patches,closed,Boost 1.66.0,thread,Boost 1.63.0,Showstopper,fixed,,