exceptions_synchronous

Set exception handling to use Microsoft-compatible exceptions. The default is off.

Syntax

#pragma exceptions_synchronous on | off | reset

Parameters

on

Ignore C++ catch(...) blocks for Win32 exceptions when using Structured Exception Handling (SEH). For Microsoft-compatible mode only. Equivilent to #pragma exc sync.

off

Let C++ catch(...) blocks trap Win32 exceptions when using SEH. For Microsoft-compatible mode only. Equivilent to #pragma exc async. This is the default.

Targets

Intel x86

NOTE To translate Win32 exceptions into C++ exceptions, use the routine set_se_translator() found in the header <eh.h>.