Boost logo

Boost :

Subject: Re: [boost] Clang 3.4 failing to compile boost 1.57 headers
From: Robert Dailey (rcdailey.lists_at_[hidden])
Date: 2015-01-18 21:44:09


On Sun, Jan 18, 2015 at 12:34 PM, Fletcher, John P
<j.p.fletcher_at_[hidden]> wrote:
> Robert
>
> As you are on Linux 12.04 as I am your default compiler seems to be gcc 4.6.3.
>
> Try adding this into the compile line when you building your binary file:
>
> -DBOOST_NO_CXX11_ALLOCATOR
>
> That worked for me on a simple example. It is buried now down in the thread.
>
> Boost is getting the library version wrong and making some wrong choices. This fix should get you running.

By building my binary file are you saying I need to rebuild boost with
this flag on? If so, how do I specify this flag when I'm building
boost? Thanks again for all of your help.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk