Re: [Boost-bugs] [Boost C++ Libraries] #3020: warning using boost::variant<boost::mpl_::void_>

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3020: warning using boost::variant<boost::mpl_::void_>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-07 22:13:22


#3020: warning using boost::variant<boost::mpl_::void_>
--------------------------------------------------+-------------------------
  Reporter: Yun Zhang <yun.zhang@…> | Owner: ebf
      Type: Bugs | Status: closed
 Milestone: Boost 1.40.0 | Component: variant
   Version: Boost 1.36.0 | Severity: Problem
Resolution: wontfix | Keywords:
--------------------------------------------------+-------------------------

Comment (by David Sankel <camior@…>):

 This warning does show up in vc10. Solution would be to add a
 {{{
 #ifdef _MSC_VER
 #pragma warning( push )
 #pragma warning( disable : 4345 )
 #endif
 }}}

 at the top of variant.hpp and

 {{{
 #ifdef _MSC_VER
 #pragma warning( pop )
 #endif
 }}}

 at the bottom.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3020#comment:6>
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:05 UTC