Boost C++ Libraries: Ticket #12072: Lots of C4265 warnings in test when using Visual Studio 2015 https://svn.boost.org/trac10/ticket/12072 <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12072 Trac 1.4.3 Brett Hall <bretthall@…> Wed, 16 Mar 2016 17:19:07 GMT attachment set https://svn.boost.org/trac10/ticket/12072 https://svn.boost.org/trac10/ticket/12072 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test-config-patch.txt</span> </li> </ul> <p> patch that fixes the issue </p> Ticket Raffi Enficiaud Wed, 18 Dec 2019 00:05:13 GMT <link>https://svn.boost.org/trac10/ticket/12072#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12072#comment:1</guid> <description> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/test/issues/237"><span class="icon">​</span>https://github.com/boostorg/test/issues/237</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Wed, 18 Dec 2019 00:10:13 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/12072#comment:2 https://svn.boost.org/trac10/ticket/12072#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Raffi Enficiaud</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Duplicates <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/11107" title="#11107: Tasks: A lot of warnings on MSVC due to protected destructor being non-virtual (closed: fixed)">#11107</a> </p> Ticket Raffi Enficiaud Wed, 18 Dec 2019 00:10:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12072#comment:3 https://svn.boost.org/trac10/ticket/12072#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> Ticket