Re: [Boost-bugs] [Boost C++ Libraries] #1507: [variant] C4512 warnings from VC8.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1507: [variant] C4512 warnings from VC8.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-21 22:22:54


#1507: [variant] C4512 warnings from VC8.0
----------------------------------------------------------+-----------------
  Reporter: Richard Webb <richard.webb_at_[hidden]> | Owner: ebf
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: variant
   Version: Boost Development Trunk | Severity: Cosmetic
Resolution: | Keywords:
----------------------------------------------------------+-----------------
Comment (by Richard Webb <richard.webb_at_[hidden]>):

 Running the variant regression tests on VC9 with warning level 4 produces
 a number of warnings in addition to the above:

 {{{
 boost/variant/variant.hpp(532) : warning C4512:
 'boost::detail::variant::direct_assigner<T>' : assignment operator could
 not be generated
 boost/variant/variant.hpp(695) : warning C4512:
 'boost::detail::variant::swap_with<Variant>' : assignment operator could
 not be generated
 boost/variant/variant.hpp(751) : warning C4512:
 'boost::detail::variant::comparer<Variant,Comp>' : assignment operator
 could not be generated

 boost/variant/detail/variant_io.hpp(67) : warning C4512:
 'boost::detail::variant::printer<OStream>' : assignment operator could not
 be generated

 boost/variant/detail/apply_visitor_binary.hpp(66) : warning C4512:
 'boost::detail::variant::apply_visitor_binary_invoke<Visitor,Value1>' :
 assignment operator could not be generated
 boost/variant/detail/apply_visitor_binary.hpp(103) : warning C4512:
 'boost::detail::variant::apply_visitor_binary_unwrap<Visitor,Visitable2>'
 : assignment operator could not be generated
 }}}

 Theres also an 'unreferenced parameter' warning:
 {{{
 boost/variant/variant.hpp(289) : warning C4100: 'operand' : unreferenced
 formal parameter
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1507#comment:1>
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:49:57 UTC