Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2007-08-09 04:18:04


 

>-----Original Message-----
>From: boost-bounces_at_[hidden]
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Steven Watanabe
>Sent: 08 August 2007 22:49
>To: boost_at_[hidden]
>Subject: Re: [boost] BOOST_MSVC versus _MSC_VER
>
>AMDG
>
>Paul A Bristow <pbristow <at> hetp.u-net.com> writes:
>
>> 2 failure to push'n'pop warning suppression? I've spotted
>several mistakes -
>and worry about others
>> confusing users, especially
>> C4244. How can we check for this automatically?
>>
>
>We can scan each file for the pragmas
>and check whether every #pragma warning(suppress)
>is between a #pragma warning push and a pop
>
>I'll look into writing the script and possibly
>adding it to inspect.

Good - I'm sure this will catch some mistakes that could really confuse users.
>
>What pragmas do other compilers use for suppressing warnings?

I don't know - and hope others can advise, especially the ones cunningly pretending to be msvc ;-)

Paul

---
Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539561830 & SMS, Mobile +44 7714 330204 & SMS
pbristow_at_[hidden]
 

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