От: | _NN_ | www.nemerleweb.com | |
Дата: | 18.01.16 08:33 | ||
Оценка: |
// Not really necessary but nice to have
#ifndef _CPPUNWIND
#error Stack unwinding is not enabled, enable C++ exceptions.
#endif
#pragma warning(push)
#pragma warning(error:4535)
// Test that compiler has /EHa flag.
namespace ExceptionHandlingDetails
{
static void testEHaFlag()
{
// Dummy call, just to produce warning.
_set_se_translator(NULL);
}
}
#pragma warning(pop)