Boost logo

Boost Testing :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-09-06 12:25:12


The really annyying this is:

a) this used to work perfectly for all the borland DLL tests. It only
started to occur after some changes in export.hpp. (and maybe somewhere
else).

b) It only occurs on some of the tests.

c) It may be particular to my machine. I've noticed that my borland test
failures on my machine don't always occur in the regression test matrix. So
it seems there are various versions of borland 5.64 out there.

Robert Ramey

AlisdairM wrote:
> Robert Ramey wrote:
>
>> I'm starting to get some test failures with my local borland 5.64
>> and 5.51 compilers. These occur in the tests which use the
>> serialization.dll
>>
>> The outpus looks just fine. it looks like the test library likes it
>> as well as it displays
>>
>> *** No errors detected
>>
>> But then the following is output:
>>
>> Pure virtual function called
>>
>> And then:
>>
>> EXIT STATUS: 1
>>
>> This marks the test as a failure. I don't know what to do about this
>> and would appreciate anyone looking into this.
>
> I have not looked into this yet, but generally have learned to
> distrust this compiler with DLLs.
>
> Without examining details of the test, but are you overiding virtual
> functions in an .exe with a base class implemented in the DLL? If so,
> that is not likely to work with this compiler. Functions bind
> statically as they cross the DLL boundary (when deriving from exported
> classes) so dynamic calls issued within the base class will never see
> the overide.


Boost-testing list run by mbergal at meta-comm.com