Subject: Re: [boost] Clang 3.4 failing to compile boost 1.57 headers
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-17 21:13:01
Robert Dailey wrote:
> I'm including <boost/format.hpp> and getting this error from Clang 3.4 on
> Ubuntu 12:
> error: no type named 'allocator_traits' in namespace 'std'
> Is this a bug or am I missing something? I'm using -std=C++11 flag.
Looks like a problem on my side; you're probably using libc++. Can you
please #include <memory> before <boost/format.hpp> and see if this fixes
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk