From c76fb545702ddd676d6c6a653a68f007719bd038 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 18 Jan 2009 18:49:23 +0000 Subject: [PATCH] move ClassRegInfo out from anonymous namespace to work around mingw32 4.3 bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/app.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 56af196bdd..eccd8787f4 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -117,9 +117,8 @@ extern void wxSetKeyboardHook(bool doIt); #endif -namespace -{ - +// because of mingw32 4.3 bug this struct can't be inside the namespace below: +// see http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/110282 struct ClassRegInfo { // the base name of the class: this is used to construct the unique name in @@ -131,6 +130,9 @@ struct ClassRegInfo regnameNR; }; +namespace +{ + wxVector gs_regClassesInfo; } // anonymous namespace