Modify

Opened 11 years ago

Closed 10 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".

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by vividos

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 Changed 10 years ago by Daryle Walker

Component: Nonetest
Severity: Problem

comment:3 Changed 10 years ago by Gennadiy Rozental

Resolution: Nonefixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Gennadiy Rozental.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.