"Orhun Birsoy" <obirsoy@comcast.net> wrote in message news:e6t6ei$3hd$1@sea.gmane.org...
Gennadiy Rozental wrote:
<obirsoy@comcast.net> wrote in message news:061320062224.21485.448F3B04000D934B000053ED220073747897019C9D070D01@comcast.net...
My problem is "access violation" in unit_test_example1.cpp can not be caught with vc80. Do I need to set some compiler or linker option?
Yes. VC-8.0 do not turn async exception support by default (as previos versions did) and without option Boost.Test couldn't catch access violation (some people believe it shouldn't do this in a first place). Anyway you need to add /EHa option.
Gennadiy
Adding /EHa to my application did not solve the problem. Do I need to compile boost.test with this option as well?
Yes. Gennadiy