
"Dave Jenkins" <david@jenkins.net> wrote in message news:fi71bn$106$1@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