Opened 16 years ago

Closed 15 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:

Description

Hi,
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
defines BOOST_MS_STRUCTURED_EXCEPTION_HANDLING in that
case.

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 by vividos, 16 years ago

Logged In: YES 
user_id=124874

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
compiling.

comment:2 by Daryle Walker, 15 years ago

Component: Nonetest
Severity: Problem

comment:3 by Gennadiy Rozental, 15 years ago

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