For VS, use option /EHsc instead of /GX (deprecated)