Boost logo

Boost :

Subject: Re: [boost] [warnings] Are warnings acceptable artifactsfrom builds?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-09-09 10:20:50


AMDG

Stewart, Robert wrote:
> Thomas Klimpel wrote:
>
>> I don't know what about the boost way to silence warnings,
>> but if it is along the line of
>>
>> #ifdef BOOST_WARNING_MSVC_WORKAROUND
>> #pragma warning(push)
>> #pragma warning(disable:4127)
>> #endif
>>
>> ...
>>
>> #ifdef BOOST_WARNING_MSVC_WORKAROUND
>> #pragma warning(pop)
>> #endif
>>
>
> Those could easily be macros, thus reducing the source code burden.
>

I'd be interested to see how. The best way of handling it that
I'm familiar with is

#include <boost/library/detail/disable_warnings.hpp>

#include <boost/library/detail/enable_warnings.hpp>

In Christ,
Steven Watanabe


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