[Boost-bugs] [Boost C++ Libraries] #2767: #pragma warning pop is missing in boost/function/function_base.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #2767: #pragma warning pop is missing in boost/function/function_base.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-17 15:27:26


#2767: #pragma warning pop is missing in boost/function/function_base.hpp
------------------------------------------------------+---------------------
 Reporter: Denis Gurchenkov <dgurchenkov_at_[hidden]> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: function
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: #pragma warning |
------------------------------------------------------+---------------------
 boost/function/function_base.hpp contains #pragma warning push directive
 but does not contain the corresponding #pragma warning pop.

 As a result, global warnings state is changed and thus warnings in user
 code may not be reported correctly.

 #pragma warnings push/pop are Visual C++ specific pragmas that maintain a
 stack of warnings state. Having push and no pop means stack nesting is
 broken.

 Fix is trivial (patchfile is attached).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2767>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC