
4 Nov
2009
4 Nov
'09
11:07 p.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Simonson, Lucanus J Sent: Wednesday, November 04, 2009 2:22 PM To: boost@lists.boost.org Subject: Re: [boost] Official warnings policy?
If only it were true that pragmas were easy to use to disable warnings in templates. Library users don't tolerate #pragma waring disable in header files that change the warning policy for their own code.
#pragma warnings are usually done correctly if they're pushed then popped... Example: #pragma warning( push ) #pragma warning( disable: 4244 4793 4996 ) class foobar { }; #pragma warning( pop )