Boost C++ Libraries: Ticket #2779: iostreams/close.hpp doesn't restore warning level https://svn.boost.org/trac10/ticket/2779 <p> "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. </p> <p> 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. </p> <p> Surprisingly, this bug exists ever since this file was created on May 2005. </p> <p> [All the line numbers are for official 1.38.0 release] </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2779 Trac 1.4.3 Vladimir Prus Sat, 30 May 2009 06:03:05 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2779#comment:1 https://svn.boost.org/trac10/ticket/2779#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53426" title="Do no disable warnings twice (while restoring only once). Fixes ...">[53426]</a>) Do no disable warnings twice (while restoring only once). </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2779" title="#2779: Bugs: iostreams/close.hpp doesn't restore warning level (closed: fixed)">#2779</a>. Thanks to Vasili Galka for the bug report. </p> Ticket