|
Boost Users : |
Subject: Re: [Boost-users] warnings with VS2008 and Boost 1.44
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-10-29 04:29:50
> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Andrew Holden
> Sent: Thursday, October 28, 2010 7:17 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] warnings with VS2008 and Boost 1.44
>
> On Thursday, October 28, 2010 11:02 AM, Paul A. Bristow wrote:
> >> -----Original Message-----
> >> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> >> bounces_at_[hidden]] On Behalf Of gast128
> >> Sent: Thursday, October 28, 2010 3:27 PM
> >> To: boost-users_at_[hidden]
> >> Subject: [Boost-users] warnings with VS2008 and Boost 1.44
> > All these warnings look spurious, and I think you can safely enclose
> and disable push'n'pop, as you suggest.
>
> Fair warning about Visual Studio: according to the help file at
> http://msdn.microsoft.com/en-us/library/2c8f766e%28v=VS.90%29.aspx
>
> > The compiler only supports up to 56 #pragma warning statements in a
> compiland.
>
> It is my experience that the compiler will ignore any "#pragma warning"
> lines after this limit has been reached, and it can be reached a lot
faster than you
> might expect.
Sigh :-(
The lengths to which Microsoft will go to discourage virtuous programming
practices...
Paul
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net