|
Boost Users : |
Subject: Re: [Boost-users] Syntax Error identifier heap_memory when using Thread library from precompiled boost version 1.46.1
From: Lasse Laursen (gazoo_at_[hidden])
Date: 2011-05-06 02:43:26
Hey,
Apparently another library must have been redefining the "new" command,
because moving the include command to the top of the existing include
commands fixed the issue.
Regards,
Lasse Laursen
On 03-05-2011 21:17, Lasse Laursen wrote:
> Hello boostah's,
>
> Sorry for the bad bro lingo. I'm having a spot of trouble getting the
> latest precompiled boost version to work with vs2010. So far I've only
> added the include directory, added the lib directory and then tried to
> include the thread.hpp file which results in the following error:
>
> Error 1 error C2061: syntax error : identifier 'heap_memory'
> c:\boost_1_46_1\boost\thread\win32\thread_heap_alloc.hpp 97 1 texsyn
>
> I googled this problem-o and found a response asking if the user had any
> code which replaced the "new" command for debugging purposes. I did have
> such code and proceeded to comment it out. Unfortunately, no change.
> Still the same error. Has anyone experienced anything similar and have
> an idea of how to best proceed?
>
> The bestest of all regards in the world,
>
> Lasse
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net