[Boost-bugs] [Boost C++ Libraries] #12072: Lots of C4265 warnings in test when using Visual Studio 2015

Subject: [Boost-bugs] [Boost C++ Libraries] #12072: Lots of C4265 warnings in test when using Visual Studio 2015
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-16 17:17:08


#12072: Lots of C4265 warnings in test when using Visual Studio 2015
--------------------------------------+---------------------
 Reporter: Brett Hall <bretthall@…> | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: |
--------------------------------------+---------------------
 When compiling a program that uses the test library with Visual 2015 lots
 of "C4265: 'class' : class has virtual functions, but destructor is not
 virtual" warnings are generated by the test_observer, test_unit_generator,
 and test_tree_visitor classes. I tracked the issue down to a single line
 in boost/test/detail/config.hpp. An #if is only checking for MSC_VER to be
 equal to 1400 (visual studio 2010) when it should be checking for greater
 than or equal to. I've attached a patch against this file that fixes the
 problem.

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