#define catch(Error) else if(_Function.Catches(STANDARD_TYPE(Error)))
#define OCC_CATCH_SIGNALS
+ // Suppress GCC warning "variable ... might be clobbered by 'longjmp' or 'vfork'"
+ #ifdef __GNUC__
+ #pragma GCC diagnostic ignored "-Wclobbered"
+ #endif
+
#elif defined(OCC_CONVERT_SIGNALS)
// Exceptions are raied as usual, signal cause jumps in the nearest
_aHandler.Error()->Reraise(); \
}
+ // Suppress GCC warning "variable ... might be clobbered by 'longjmp' or 'vfork'"
+ #ifdef __GNUC__
+ #pragma GCC diagnostic ignored "-Wclobbered"
+ #endif
+
#else
// Normal Exceptions (for example WNT with MSVC and option /GHa)