Boost logo

Boost :

Subject: Re: [boost] [build][wave][thread][date-time] 1.65.0 clang on Windows build failures
From: Konstantin Ivlev (tomskside_at_[hidden])
Date: 2017-08-31 07:58:23


thanks, Andrey, I have tried updated Boost.DateTime and it works like a
charm!
by the way, I have just filled two additional pool requests to address
similar problem with Boost.Thread:
https://github.com/boostorg/winapi/pull/44 (this is trivial one just to add
WaitForSingleObjectEx/WaitForMultipleObjectsEx)
https://github.com/boostorg/thread/pull/140

can someone take a look at them?

2017-08-29 0:23 GMT+07:00 Andrey Semashev via Boost <boost_at_[hidden]>:

> On 08/28/17 15:20, Konstantin Ivlev via Boost wrote:
>
>>
>> 3. WinAPI-related errors in boost::date_time & boost::thread, e.g.
>>
>> In file included from libs\coroutine\src\windows\stack_traits.cpp:23:
>> In file included from .\boost/thread.hpp:13:
>> In file included from .\boost/thread/thread.hpp:12:
>> In file included from .\boost/thread/thread_only.hpp:15:
>> In file included from .\boost/thread/win32/thread_data.hpp:10:
>> In file included from .\boost/thread/thread_time.hpp:10:
>> In file included from .\boost/date_time/microsec_time_clock.hpp:23:
>> .\boost/date_time/filetime_functions.hpp:57:46: error: conflicting types
>> for 'GetSystemTimeAsFileTime'
>> __declspec(dllimport) void __stdcall
>> GetSystemTimeAsFileTime(FILETIME*
>> lpFileTime);
>> ^
>> C:\Program Files (x86)\Windows
>> Kits\10\include\10.0.15063.0\um\sysinfoapi.h:159:1:
>> note: previous declaration is here
>> GetSystemTimeAsFileTime(
>> ^
>>
>> seems like stack_traits.cpp unconditionally includes windows.h,
>> while BOOST_USE_WINDOWS_H is not defined in case of clang build, so
>> filetime_functions.hpp defines its own WinAPI prototypes. probably shall
>> be
>> somehow fixed in boost config?
>>
>> any advice on how to proceed with these issues?
>>
>
> The Boost.DateTime part should be fixed by this PR:
>
> https://github.com/boostorg/date_time/pull/45
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman
> /listinfo.cgi/boost
>


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