Opened 12 years ago

Closed 11 years ago

#762 closed Patches (fixed)

[test] evc4 issue with SEH support

Reported by: vividos Owned by: Gennadiy Rozental
Milestone: Component: test
Version: None Severity: Problem
Keywords: Cc:


I'm trying to port Boost 1.34 to the eMbedded Visual
C++ compiler. I encountered an error in
boost/test/impl/execution_monitor.ipp where it is
checked if the platform being used supports SEH and

evc4 and the Windows CE 4.2 platform supports SEH, but
it doesn't provide <eh.h> for setting structured
exception translators. For this reason this patch
disables the whole feature, at least for Windows CE 4.2.

It additionally patches a line where a warning is
output with the preprocessor statement "#warning" that
isn't supported on evc4. I think the more portable
version of this is "#pragma message".

Change History (3)

comment:1 Changed 12 years ago by vividos

Logged In: YES 

I just saw that this is a duplicate of patch #1499418. The
only difference is that it limits the exclusion of the code
to Windows CE 4.2, as that is the only platform I could test

comment:2 Changed 11 years ago by Daryle Walker

Component: Nonetest
Severity: Problem

comment:3 Changed 11 years ago by Gennadiy Rozental

Resolution: Nonefixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.