Q:
A catch handler specified no type or multiple types. Ex:
// compile with: /EHsc #include <eh.h> int main() { try { throw "Out of memory!"; } catch( int ,int) {} // C2310 two types }
A:
Possible resolution:
// compile with: /EHsc #include <eh.h> int main() { try { throw "Out of memory!"; } catch( int) {} }