From aa386b577d91800ece59396aff6debb6fca8347c Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 13 May 2007 08:43:40 +0000 Subject: [PATCH] silence MSVC8 --- src/Main/bootstrap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/bootstrap.cxx b/src/Main/bootstrap.cxx index 5bfe72297..8322b598a 100644 --- a/src/Main/bootstrap.cxx +++ b/src/Main/bootstrap.cxx @@ -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) {