Boost logo

Boost :

Subject: Re: [boost] Official warnings policy?
From: Michael Caisse (boost_at_[hidden])
Date: 2009-11-04 20:50:32


Joel de Guzman wrote:
>
> I've never been a bjam expert, but what is the bjam flag that
> switches on warnings? On my part, I could just switch it on
> every time I do local testing.
>
> Regards,

Looks like you have a couple built-in options. Just add to your
bjam command line (example: bjam warnings=all release).

  warnings=on

     gcc: -Wall
     msvc: /W3

  warnings=off

     gcc: -w
     msvc: /W0

  warnings=all

     gcc: -Wall -pedantic
     msvc: /W4

  warnings-as-errors=on

     gcc: -Werror
     msvc: /Wx

HTH

michael

-- 
----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk