Opened 7 years ago

Closed 7 years ago

#11329 closed Bugs (fixed)

using declarative for GetProcessHeap, .... fails

Reported by: ingo.loehken@… 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 viboes, 7 years ago

Niall, could you fix this issue?

comment:2 by viboes, 7 years ago

Owner: changed from Anthony Williams to Niall Douglas

comment:3 by Niall Douglas, 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:4 by viboes, 7 years ago

no problem

comment:5 by viboes, 7 years ago

Milestone: To Be DeterminedBoost 1.59.0
Owner: changed from Niall Douglas to viboes
Status: newassigned

This has already been fixed on develop.

Last edited 7 years ago by viboes (previous) (diff)

comment:6 by viboes, 7 years ago

Milestone: Boost 1.59.0Boost 1.60.0

comment:7 by viboes, 7 years ago

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