Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-12-02 15:16:19


"Dave Jenkins" <david_at_[hidden]> wrote in message
news:fi71bn$106$1_at_ger.gmane.org...
> When I include header <boost/test/unit_test.hpp> in my program, the linker
> complains that symbol "execution_exception" is undefined. I looked at the
> compiler output and found that class "execution_exception" is a parameter
> on
> "virtual void exception_caught(execution_exception const&)" in file
> test_observer.hpp. It is declared but never defined.

What is?

> I added "#include <boost/test/execution_monitor.hpp>" to file
> test_observer.hpp and the linker error went away. Is this the correct way
> to fix the problem?

Doesn't look like it. If it compiles it should work file. The exception is
implemented in the library.

> Thanks,
> Dave Jenkins

What compiler r u using? Can you create small example?

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk