[Boost-bugs] [Boost C++ Libraries] #3618: MSVC Warning suppression fix

Subject: [Boost-bugs] [Boost C++ Libraries] #3618: MSVC Warning suppression fix
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-13 11:56:32


#3618: MSVC Warning suppression fix
-------------------------------------+--------------------------------------
 Reporter: johnmaddock | Owner: dgregor
     Type: Patches | Status: new
Milestone: Boost 1.42.0 | Component: function
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 The attached patch fixes two categories of warnings from MSVC:

 * First it complains that certain variables are assigned values that are
 not used when in fact it is used to call the type's destructor via
 f->~Function(). I believe the warning occurs because the type Function is
 a built in type for which it's destructor is a no-op.
 * Secondly, use of Boost.Test requires /EHa - added as a requirement to
 the Jamfile.

 Let me know if you want me to commit.

 Regards, John.

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