|
Boost : |
From: Dave Jenkins (david_at_[hidden])
Date: 2007-11-26 23:14:28
"Jeremy Pack" <rostovpack_at_[hidden]> wrote in message
news:1b251b590711261936x48ec6594t3f2e22e7ca6d852f_at_mail.gmail.com...
> However, if I add the header
> #include <boost/test/execution_monitor.hpp>, the problems disappear.
> I've tested this in multiple files. It always dies on regex_match,
> unless I include boost/test/execution_monitor.hpp.
>
> Jeremy Pack
Could this be related to the problem I posted on 11/23/2007?
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?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk