Opened 6 years ago

Closed 5 years ago

#12323 closed Bugs (fixed)

windows - boost/thread/win32/mfc_thread_init.hpp has wrong signature for _pRawDllMainOrig

Reported by: Alan Bain <alan.bain@…> Owned by: viboes
Milestone: Boost 1.66.0 Component: thread
Version: Boost 1.61.0 Severity: Problem
Keywords: MFC Cc:

Description

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;

Change History (6)

comment:1 by viboes, 6 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:2 by viboes, 6 years ago

I'm unable to test on Windows.

Please, could you provide a patch or a github PR?

comment:3 by viboes, 5 years ago

Summary: boost/thread/win32/mfc_thread_init.hpp has wrong signature for _pRawDllMainOrigwindows - boost/thread/win32/mfc_thread_init.hpp has wrong signature for _pRawDllMainOrig

comment:5 by viboes, 5 years ago

Milestone: To Be DeterminedBoost 1.66.0

comment:6 by viboes, 5 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.