Boost logo

Boost :

Subject: Re: [boost] [thread] Build failures in develop
From: Marcel Raad (raad_at_[hidden])
Date: 2014-09-30 05:27:18


Niall Douglas <s_sourceforge <at> nedprod.com> writes:

>
> On 30 Sep 2014 at 11:23, Andrey Semashev wrote:
>
> > Boost.Thread currently fails to build on MSVC, which affects other
> > libraries:
>
> Looks like it came from the WinRT patch and only occurs if
> BOOST_USE_WINDOWS_H is turned on.

CREATE_EVENT_MANUAL_RESET and CREATE_EVENT_INITIAL_SET are only defined for
(_WIN32_WINNT >= 0x0600) in the Windows SDK.

As they are only used in a
(BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_VISTA) block and
boost::detail::win32::CreateEventExW is only defined in such a block, the
defines should probably be guarded by that too.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk