[Boost-bugs] [Boost C++ Libraries] #2779: iostreams/close.hpp doesn't restore warning level

Subject: [Boost-bugs] [Boost C++ Libraries] #2779: iostreams/close.hpp doesn't restore warning level
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-18 17:25:23


#2779: iostreams/close.hpp doesn't restore warning level
---------------------------------------------+------------------------------
 Reporter: Vasili Galka <vvv444_at_[hidden]> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
---------------------------------------------+------------------------------
 "close.hpp" pushes the warning level twice. At line 33 and line 215.
 However, it is poped only once at line 258. This results in unrestored
 warning level.

 As far as I understand there is no need for the "disable_warnings.hpp"
 include on line 215 because it's already done at line 33. This line can be
 safely removed to solve the problem.

 Surprisingly, this bug exists ever since this file was created on May
 2005.

 [All the line numbers are for official 1.38.0 release]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2779>
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