Modify

Opened 2 years ago

Closed 2 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.

Attachments (0)

Change History (7)

comment:1 Changed 2 years ago by viboes

Niall, could you fix this issue?

comment:2 Changed 2 years ago by viboes

Owner: changed from Anthony Williams to Niall Douglas

comment:3 Changed 2 years ago by Niall Douglas

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 Changed 2 years ago by viboes

no problem

comment:5 Changed 2 years ago by viboes

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 2 years ago by viboes (previous) (diff)

comment:6 Changed 2 years ago by viboes

Milestone: Boost 1.59.0Boost 1.60.0

comment:7 Changed 2 years ago by viboes

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain viboes.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.