workaround for visual c++ 6.0 not compatible with c++ standards

This commit is contained in:
Jeff Hill
2003-03-19 15:44:31 +00:00
parent f156dbef42
commit 55b51195f4
2 changed files with 7 additions and 6 deletions

View File

@@ -53,16 +53,16 @@ extern "C" void epicsThreadCallEntryPoint ( void * pPvt )
char name [128];
epicsThreadGetName ( pThread->id, name, sizeof ( name ) );
errlogPrintf (
"epicsThread: Unexpected C++ exception \"%s\" - terminating \"%s\"",
"epicsThread: Unexpected C++ exception \"%s\" - terminating thread \"%s\"",
except.what (), name );
std::unexpected ();
return;
}
catch ( ... ) {
char name [128];
epicsThreadGetName ( pThread->id, name, sizeof ( name ) );
errlogPrintf (
"epicsThread: Unknown C++ exception - terminating \"%s\"", name );
std::unexpected ();
"epicsThread: Unknown C++ exception - terminating thread \"%s\"", name );
return;
}
}