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:08:31


On Thu, Feb 19, 2009 at 3:38 PM, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Thursday 19 February 2009 10:08:47 Dean Michael Berris wrote:
>>
>> I tried the latest nightly build though, and I still encounter the
>> problem with the 4.2 compiler. Apparently '-Wno-long-double' is still
>> defined even for that version. With the 4.0 compiler though it appears
>> to be working fine.
>
> This is strange. Can you open tools/darwin.jam and find code that looks
> like this:
>
[snip]
>
> and report what is printed. If nothing is printed, it means you're not
> actually using the nightly build you've downloaded. Otherwise, we should
> be able to understand why the condition fails to work.
>

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.

Silly question though: does Boost.Build already support regular expressions?

HTH

-- 
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