Boost logo

Boost-Build :

Subject: Re: [Boost-build] Too much warning noise
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-09-27 13:59:36

On Sat, Sep 27, 2008 at 5:50 AM, John Maddock <john_at_[hidden]> wrote:
> Vladimir Prus wrote:
>>> Does this sound sane? If so, I'll put together a patch.
> Yep, I'd love the regex lib to only emit it's info when being built as well:
> I've asked about this before and was always told that it was too difficult /
> impossible :-(

I myself have complained a lot of times on this list about this
problem and I find it very frustrating that these libraries continue
emit noise in the log.

I disagree that the correct solution is to emit the warnings only if
the library in question is being used; these warnings are unnecessary
to begin with. "Oh, this or that feature isn't configured so it isn't
used!" It's like the compiler reminding me that exceptions are off by
default and so if I want to use exceptions I need to enable them.

In case it isn't clear what we're talking about: every time I build my
own code with Boost Build, I see this nonsense in the log:

warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
WARNING: No python installation configured and autoconfiguration
         failed. See
         for configuration instructions or pass --without-python to
         suppress this message and silently skip all Boost.Python targets
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).

Emil Dotchevski
Reverge Studios, Inc.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at