Opened 7 years ago
Closed 7 years ago
#11329 closed Bugs (fixed)
using declarative for GetProcessHeap, .... fails
| Reported by: | Owned by: | viboes | |
|---|---|---|---|
| Milestone: | Boost 1.60.0 | Component: | thread | 
| Version: | Boost 1.58.0 | Severity: | Problem | 
| Keywords: | GetProcessHeap, HeapAlloc, HeapFree, QueueUserAPC | Cc: | vladimir.lysenko@…, konrad.jaskolski@…, fabio.ciampi@… | 
Description
Hi,
under windows 7, vs2013 the using declaratives in thread_heap_alloc.hpp
using ::GetProcessHeap; using ::HeapAlloc; using ::HeapFree;
fail if compiled with BOOST_USE_WINDOWS_H.
same problem with QueueUserAPC in thread_primitives.hpp
As a workaround QueueUserAPC cabe be commented out and the other need to be replaced with the import declaratives, commeting out the BOOST_USE_WINDOWS_H section in thread_heap_alloc.hpp and adding the typedefs from thread_primitves.hpp for the declared symbols.
Greetz, ILo.
Change History (7)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
| Owner: | changed from to | 
|---|
comment:3 by , 7 years ago
Yep, we need the nightly Jenkins CI pass to compile Boost.Thread with BOOST_USE_WINDOWS_H. This is hardly the first time we've broken support for that build option.
We also need, incidentally, to get Boost.Thread clean with clang on mingw. Right now it spews all over the place.
Can I todo these Vicente for when my current contract terminates end of July? I'll have a lot more free time then, seeing as I'll be unemployed. Right now I need to bank money.
comment:5 by , 7 years ago
| Milestone: | To Be Determined → Boost 1.59.0 | 
|---|---|
| Owner: | changed from to | 
| Status: | new → assigned | 
This has already been fixed on develop.
comment:6 by , 7 years ago
| Milestone: | Boost 1.59.0 → Boost 1.60.0 | 
|---|
comment:7 by , 7 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 

Niall, could you fix this issue?