[Boost-bugs] [Boost C++ Libraries] #12730: static threads library is incompatible with MSVC 2017 RC

Subject: [Boost-bugs] [Boost C++ Libraries] #12730: static threads library is incompatible with MSVC 2017 RC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-05 20:52:30


#12730: static threads library is incompatible with MSVC 2017 RC
------------------------------+-------------------------
 Reporter: z7z7z@… | Owner: anthonyw
     Type: Patches | Status: new
Milestone: To Be Determined | Component: threads
  Version: Boost 1.63.0 | Severity: Showstopper
 Keywords: |
------------------------------+-------------------------
 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 .

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12730>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC