Opened 7 years ago
Closed 3 years ago
#12072 closed Bugs (duplicate)
Lots of C4265 warnings in test when using Visual Studio 2015
Reported by: | Owned by: | Raffi Enficiaud | |
---|---|---|---|
Milestone: | To Be Determined | Component: | test |
Version: | Boost 1.60.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (4)
by , 7 years ago
Attachment: | test-config-patch.txt added |
---|
comment:3 by , 3 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
patch that fixes the issue