есть код типа:
#include <stdlib.h>
#include <stdio.h>
#include <exception>
main()
{
try
{
int z=33/0;
}
catch( std::exception &error )
{
printf("Ok %s\n", error.what());
return 0;
}
return 1;
}
собираем с ключём -fexceptions с секцию catch не попадаем???