
14 Jun
2006
14 Jun
'06
5:25 a.m.
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