From 5a2ec1b8414ed6d0e1706a385dc22d076e4adb2f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 27 Sep 2004 18:19:22 +0000 Subject: [PATCH] explicitly forward declare wxHashTableBase when wxUSE_STL == 1; this is apparently needed for xlC (AIX compiler) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/hash.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/hash.h b/include/wx/hash.h index d9749ef6ad..247a844637 100644 --- a/include/wx/hash.h +++ b/include/wx/hash.h @@ -111,6 +111,10 @@ union wxHashKeyValue wxChar *string; }; +// for some compilers (AIX xlC), defining it as friend inside the class is not +// enough, so provide a real forward declaration +class WXDLLIMPEXP_BASE wxHashTableBase; + class WXDLLIMPEXP_BASE wxHashTableBase_Node { friend class WXDLLIMPEXP_BASE wxHashTableBase;