Boost logo

Boost :

Subject: Re: [boost] [filesystem] path.cpp fails to compile underclang/Cygwin
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-16 11:29:54


Beman Dawes wrote:

> On Mon, Jan 5, 2015 at 12:07 PM, Peter Dimov <lists_at_[hidden]> wrote:
> >
> > My clang is the Cygwin one, running under Windows.
>
> I'm having no luck at all with "b2 toolset=clang" on Windows.
>
> What does your "using" entry in user-config.jam look like?

using clang : : : <cxxflags>-Wno-variadic-macros
<cxxflags>-Wno-c99-extensions ;

feature.subfeature toolset clang : std : cxx0x cxx11 cxx1y cxx14 : optional
composite propagated ;

feature.compose <toolset-clang:std>cxx0x : <cxxflags>-std=c++0x ;
feature.compose <toolset-clang:std>cxx11 : <cxxflags>-std=c++11 ;
feature.compose <toolset-clang:std>cxx1y : <cxxflags>-std=c++1y ;
feature.compose <toolset-clang:std>cxx14 : <cxxflags>-std=c++14 ;

but I doubt that this is the issue. I'm also on the develop branch, if that
makes a difference.

I had many problems with clang when I tried to make it work on mingw, but
the Cygwin version (installed via the Cygwin installer) works out of the box
(well, apart from the relative include bug.)


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