[Boost-bugs] [Boost C++ Libraries] #10911: boost/iostreams/filter/zlib.hpp gives C4275 warning with visual studio

Subject: [Boost-bugs] [Boost C++ Libraries] #10911: boost/iostreams/filter/zlib.hpp gives C4275 warning with visual studio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-02 14:50:09


#10911: boost/iostreams/filter/zlib.hpp gives C4275 warning with visual studio
-----------------------------------------+-----------------------
 Reporter: Joseph Southwell <joseph@…> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.57.0 | Severity: Cosmetic
 Keywords: |
-----------------------------------------+-----------------------
 please change the line

 {{{
 # pragma warning(disable:4251 4231 4660) // Dependencies not
 exported.
 }}}

 to

 {{{
 # pragma warning(disable:4251 4231 4660 4275) // Dependencies not
 exported.
 }}}

 This will fix...

 {{{
 1>c:\development\boost_1_56_0\boost\iostreams\filter\zlib.hpp(138):
 warning C4275: non dll-interface class 'std::ios_base::failure' used as
 base for dll-interface class 'boost::iostreams::zlib_error'
 1> c:\program files (x86)\microsoft visual studio
 12.0\vc\include\xiosbase(221) : see declaration of
 'std::ios_base::failure'
 1>
 c:\development\boost_1_56_0\boost\iostreams\filter\zlib.hpp(138) : see
 declaration of 'boost::iostreams::zlib_error'
 }}}

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