From e83f230124bbc1dfc93d5c9b3586fcc57f07ecf1 Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Sun, 14 Dec 2003 04:30:45 +0000 Subject: [PATCH] warning... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/init.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/common/init.cpp b/src/common/init.cpp index 39874736bf..bb56dd4007 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -394,8 +394,17 @@ int wxEntryReal(int& argc, wxChar **argv) WX_SUPPRESS_UNUSED_WARN(cleanupOnExit); +#if defined(__VISUALC__) + //Disable warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX + #pragma warning (disable:4530) +#endif + wxTRY { + +#if defined(__VISUALC__) + #pragma warning (default:4530) +#endif // app initialization if ( !wxTheApp->CallOnInit() ) {