Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-06-16 00:45:58


"Orhun Birsoy" <obirsoy_at_[hidden]> wrote in message
news:e6t6ei$3hd$1_at_sea.gmane.org...
> 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?

Yes.

Gennadiy


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