From d9f0e932248baa45e8e86686581b31e69554307e Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 8 Jul 2005 10:16:44 +0000 Subject: [PATCH] minor clarification of broken build cases git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/object.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/object.cpp b/src/common/object.cpp index e7692e7384..25e6b04650 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -230,11 +230,11 @@ void wxClassInfo::Register() sm_classTable = new wxHashTable(wxKEY_STRING); } - // using IMPLEMENT_DYNAMIC_CLASS() macro twice (which may happen if you - // link any object module twice mistakenly) will break this function - // because it will enter an infinite loop and eventually die with "out of - // memory" - as this is quite hard to detect if you're unaware of this, - // try to do some checks here + // Using IMPLEMENT_DYNAMIC_CLASS() macro twice (which may happen if you + // link any object module twice mistakenly, or link twice against wx shared + // library) will break this function because it will enter an infinite loop + // and eventually die with "out of memory" - as this is quite hard to + // detect if you're unaware of this, try to do some checks here. wxASSERT_MSG( sm_classTable->Get(m_className) == NULL, _T("class already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() twice (may be by linking some object module(s) twice)?") ); -- 2.47.2