[Boost-bugs] [Boost C++ Libraries] #7340: Visual studio iostreams warnings

Subject: [Boost-bugs] [Boost C++ Libraries] #7340: Visual studio iostreams warnings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-06 14:41:27


#7340: Visual studio iostreams warnings
-----------------------------------------------------+----------------------
 Reporter: Alan Birtles <alan.birtles@…> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
-----------------------------------------------------+----------------------
 Visual studio 2010 raises "conditional expression is constant" warnings
 from chain.hpp. This can be fixed by simply including the disable_warnings
 header in chain.hpp

 Visual studio 2010 raises various "unreachable code" warnings. This can be
 fixed by adding warning 4702 in disable_warnings.hpp

 Visual studio 2012 raises a "inherits via dominance" warning from
 stream.hpp (see
 http://connect.microsoft.com/VisualStudio/feedback/details/733720
 /inheriting-from-std-fstream-produces-c4250-warning for the cause of this
 warning). This requires including the disable_warnings header in
 stream.hpp and adding warning 4250 to disable_warnings.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7340>
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:50:10 UTC