[Boost-bugs] [Boost C++ Libraries] #3004: test_dll_exported fails

Subject: [Boost-bugs] [Boost C++ Libraries] #3004: test_dll_exported fails
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-08 13:45:30


#3004: test_dll_exported fails
-------------------------------------------------+--------------------------
 Reporter: marvin.sielenkemper_at_[hidden] | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: serialization
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: DLL , msvc-8.0 |
-------------------------------------------------+--------------------------
 Built with msvc-8.0.

 The failure message is:
 d:\boost\boost.build\libs\serialization\test\test_tools.hpp(183):
 unregistered void cast in function 'int __cdecl main(int,char *[])'
 1 error detected.

 I found and fixed this problem first with our own test suite.

 Problem:
 The lib allows multiple instances of the extended_type_info to represent
 the same type. This seems to be ok in most cases.
 But in the void cast code this breaks and reports a missing cast where
 there is one present: the equality (or order in that case) is too fine.
 I added the proper weaker equality and search the cast list again using
 that if the first search failed.

 Assembling the patch for this ticket, I noticed that there already is a
 unit test for the kind of DLL exported stuff we use. But it was not
 executed. So I fixed that, ran the test on the original lib and it failed.
 With my patch it succeeds again.

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