silence MSVC8
This commit is contained in:
parent
76e76bb95d
commit
aa386b577d
1 changed files with 2 additions and 2 deletions
|
@ -144,7 +144,7 @@ void flush_fpe(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
static void terminate() {
|
||||
static void fg_terminate() {
|
||||
cerr << endl <<
|
||||
"Uncaught Exception: you should see a meaningful error message\n"
|
||||
"here, but your GLUT (or SDL) library was apparently compiled\n"
|
||||
|
@ -215,7 +215,7 @@ int main ( int argc, char **argv ) {
|
|||
// FIXME: add other, more specific
|
||||
// exceptions.
|
||||
try {
|
||||
std::set_terminate(terminate);
|
||||
std::set_terminate(fg_terminate);
|
||||
atexit(fgExitCleanup);
|
||||
fgMainInit(argc, argv);
|
||||
} catch (const sg_throwable &t) {
|
||||
|
|
Loading…
Reference in a new issue