catch 처리기는 형식을 하나 지정해야 합니다.
형식이나 여러 형식을 지정하지 않은 catch 처리기입니다.
다음 샘플에서는 C2310을 생성합니다.
// C2310.cpp
// compile with: /EHsc
#include <eh.h>
int main() {
try {
throw "Out of memory!";
}
catch( int ,int) {} // C2310 two types
// try the following line instead
// catch( int) {}
}