Boost logo

Boost Testing :

From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2005-09-05 15:11:11


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.

-- 
AlisdairM

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