From: Vadim Zeitlin Date: Mon, 27 Sep 2004 18:19:22 +0000 (+0000) Subject: explicitly forward declare wxHashTableBase when wxUSE_STL == 1; this is apparently... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5a2ec1b8414ed6d0e1706a385dc22d076e4adb2f 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 --- 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;