Boost logo

Boost :

Subject: Re: [boost] warning policy issue
From: Vicente Botet Escriba (vicente.botet_at_[hidden])
Date: 2009-11-27 10:51:56


Daniel James wrote:
>
> 2009/11/26 Paul A. Bristow <pbristow_at_[hidden]>:
>>
>> My recollection (dim!) is that 7.1 works the same.
>>
>> Are you quite sure you are casting to the right type?
>>
>> Or is suppressing the line of least resistance (sounds a bit dodgy to
>> me).
>
> There are a few warning conditions in Visual C++ 7.1 that were removed
> in later versions. I think their removal is a good indication of their
> worth (the ones I've come across were certainly buggy). They should
> probably just be suppressed with something like the following.
>
> #if defined(BOOST_MSVC)
> #pragma warning(push)
> #if BOOST_MSVC < 1400
> #pragma warning(disable:4244)
> #endif
> #endif
>
> // ....
>
> #if defined(BOOST_MSVC)
> #pragma warning(pop)
> #endif
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
>

Hi,

what do you think if, in addition to setting up the Maintenace Guidelines
wiki page, we setup some test that proves these gides really work?

Best,
Vicente

-- 
View this message in context: http://old.nabble.com/warning-policy-issue-tp26532651p26544206.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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