Subject: [Boost-bugs] [Boost C++ Libraries] #11329: using declarative for GetProcessHeap, .... fails
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-21 18:40:04
#11329: using declarative for GetProcessHeap, .... fails
-------------------------------------------------+-------------------------
Reporter: ingo.loehken@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.58.0 | Severity: Problem
Keywords: GetProcessHeap, HeapAlloc, |
HeapFree, QueueUserAPC |
-------------------------------------------------+-------------------------
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11329> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC