[Boost-bugs] [Boost C++ Libraries] #12323: boost/thread/win32/mfc_thread_init.hpp has wrong signature for _pRawDllMainOrig

Subject: [Boost-bugs] [Boost C++ Libraries] #12323: boost/thread/win32/mfc_thread_init.hpp has wrong signature for _pRawDllMainOrig
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-12 16:54:30


#12323: boost/thread/win32/mfc_thread_init.hpp has wrong signature for
_pRawDllMainOrig
-------------------------------------+----------------------
 Reporter: Alan Bain <alan.bain@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: MFC |
-------------------------------------+----------------------
 Signature should be

 extern "C" __declspec(selectany) BOOL (WINAPI * const
 _pRawDllMainOrig)(HINSTANCE, DWORD, LPVOID)

 and this would match the definition of ExtRawDllMain and the one in
 <afxdllx.h>

 extern "C" BOOL (WINAPI* const _pRawDllMain)(HINSTANCE, DWORD, LPVOID) =
 &ExtRawDllMain;

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12323>
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