Boost logo

Boost-Build :

Subject: Re: [Boost-build] Too much warning noise
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-09-29 11:46:27


On Saturday 27 September 2008 22:58:39 Mat Marcus wrote:
> On Sat, Sep 27, 2008 at 3:10 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
> > I think there are two levels of possible supressions here:
> >
> > - you should not get any warning for a library you don't build
> > - you probably should be able to indicate you really don't
> > want to see a warning any more of a library you build. Say, if
> > you use boost.graph, but don't care about graphml.
> >
> > I think that both things are needed. But I suspect that for big
> > projects, you better not even 'configure' things that don't use.
> > Say, if you use Boost, but don't use Boost.Graph, and you have
> > 50 other things to configure already, then you should not even
> > see anything about Boost.Graph. Which means that to solve your
> > immediately problem, we don't need to first write generic configuration
> > framework -- but rather make Boost.Graph not to emit the warning
> > when it's not built.
> >
> > Does this sound sane? If so, I'll put together a patch.
>
> Yes, please, that would help a lot. Thanks!

I've checked in these patches:

        http://svn.boost.org/trac/boost/changeset/49006
        http://svn.boost.org/trac/boost/changeset/49008

which eliminates the warning from Boost.Graph if Boost.Graph
is not been built. Please let me know if this seem to work
for you. John, do you think you can try this trick for
Boost.Regex? I'll probably handle MPI some day soon.

- 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