Boost logo

Boost Users :

From: Orhun Birsoy (obirsoy_at_[hidden])
Date: 2006-06-15 22:53:06


Gennadiy Rozental wrote:
> <obirsoy_at_[hidden]> wrote in message
> news:061320062224.21485.448F3B04000D934B000053ED220073747897019C9D070D01_at_comcast.
>> 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?

Orhun Birsoy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net