Boost logo

Boost-Build :

Subject: Re: [Boost-build] [darwin][jam][g++-4.2] darwin build command adds '-Wno-long-double', unsupported in Mac gcc?
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2009-02-19 03:30:19


On Thu, Feb 19, 2009 at 4:16 PM, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Thursday 19 February 2009 11:08:31 Dean Michael Berris wrote:
>>
>> The output says:
>>
>> XXXXXXXXXXXXXXXXXXXXXXXXXX 4.2
>>
>> So this means the version check fails because it expects a trailing
>> ".0" from $(version) when what we get is just 4.2 -- consider that my
>> ~/user-config.jam has the version set explicitly:
>>
>> using darwin : 4.2 : g++-4.2 ;
>>
>> I guess there would be some more additional munging of the version
>> parameter especially when it's not auto-discovered.
>
> I suggest you then use 4.2.0 explicitly -- or just don't specify a version
> and let it be auto-detected.
>

That's the workaround I was thinking and have actually employed (just
leave the version field blank). Thanks for the suggestion.

>> Silly question though: does Boost.Build already support regular expressions?
>
> It supported them for a few years already.
>

Okay. Will doing a regex match on this be too much work? Or will that
just be unnecessary?

Thanks again!

-- 
Dean Michael Berris | Software Engineer, Friendster, Inc.
blog.cplusplus-soup.com | twitter.com/mikhailberis |
linkedin.com/in/mikhailberis | profiles.friendster.com/mikhailberis |
deanberris.com

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