Fix a crash when using an undeclared identifier (Jira #ROOT-10193)
This commit is contained in:
parent
1a1a84dfcb
commit
e7ae55720e
@ -99,6 +99,8 @@ namespace cling {
|
||||
void CompilationException::throwingHandler(void * /*user_data*/,
|
||||
const std::string& reason,
|
||||
bool /*gen_crash_diag*/) {
|
||||
#ifndef _MSC_VER
|
||||
throw cling::CompilationException(reason);
|
||||
#endif
|
||||
}
|
||||
} // end namespace cling
|
||||
|
Loading…
x
Reference in New Issue
Block a user