|
Boost-Build : |
Subject: Re: [Boost-build] cxxflags and compilation of C files with clang
From: Wieger Wesselink (wieger_at_[hidden])
Date: 2013-04-22 16:42:32
On Mon, Apr 22, 2013, at 10:24 PM, Steven Watanabe wrote:
> AMDG
>
> On 03/26/2013 01:44 AM, Wieger Wesselink wrote:
> > When compiling a C file with clang it looks like cxxflags settings are
> > being passed to the compiler. My Jamroot contains
> >
> > exe a : a.c : ;
> >
> > When I use
> >
> > b2 clang cxxflags=-std=c++11
> >
> > the result is an error:
> >
> > compile.c.without-pth bin/clang-linux-3.0/debug/a.o
> > error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
> >
> > <snip>
> >
> > Is this a problem in Boost.Build?
> >
>
> Fixed in r84018.
>
> In Christ,
> Steven Watanabe
Thanks for the fix, Steven! It works fine for me.
Best regards,
Wieger
-- http://www.fastmail.fm - Email service worth paying for. Try it for free
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk