
16 Jun
2006
16 Jun
'06
4:45 a.m.
"Orhun Birsoy"
Gennadiy Rozental wrote:
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