Ticket #2779 (closed Bugs: fixed)
iostreams/close.hpp doesn't restore warning level
|Reported by:||Vasili Galka <vvv444@…>||Owned by:||turkanis|
|Milestone:||To Be Determined||Component:||iostreams|
"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]