[Boost-bugs] [Boost C++ Libraries] #1504: [type-traits] VC8 - C4512 warning

Subject: [Boost-bugs] [Boost C++ Libraries] #1504: [type-traits] VC8 - C4512 warning
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-07 18:06:40


#1504: [type-traits] VC8 - C4512 warning
---------------------------------------------------------+------------------
 Reporter: Richard Webb <Richard.Webb_at_[hidden]> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
---------------------------------------------------------+------------------
 I'm getting a C4512 warning from type-traits when building with VC8 using
 warning level 4 and code analysis:

 {{{
 boost\type_traits\alignment_of.hpp(39) : warning C4512:
 'boost::detail::alignment_of_hack<T>' : assignment operator could not be
 generated
 }}}

 (the header in question is included via Optional).

 The attached patch silences this for me.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1504>
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