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: Vladimir Prus (ghost_at_[hidden])
Date: 2009-02-19 03:16:38


On Thursday 19 February 2009 11:08:31 Dean Michael Berris wrote:
> 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.

I suggest you then use 4.2.0 explicitly -- or just don't specify a version
and let it be auto-detected.
 
> Silly question though: does Boost.Build already support regular expressions?

It supported them for a few years already.

- Volodya


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