Boost logo

Boost :

From: Dave Jenkins (david_at_[hidden])
Date: 2007-11-23 12:06:57


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.

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?
Thanks,
Dave Jenkins


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