From 23e7011696b51dd5e7623fa3d18fafbcadff3e17 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Sat, 29 May 2004 20:23:34 +0000 Subject: [PATCH] blind compilation fix for first warning and error reported by "i686-pc-linux-gnu+RH" tinderbox compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@27507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/HelpGen/src/HelpGen.cpp | 5 ++++- utils/HelpGen/src/srcparser.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/HelpGen/src/HelpGen.cpp b/utils/HelpGen/src/HelpGen.cpp index 4bf5e4418f..db42f5db87 100644 --- a/utils/HelpGen/src/HelpGen.cpp +++ b/utils/HelpGen/src/HelpGen.cpp @@ -1296,7 +1296,7 @@ void HelpGenVisitor::VisitOperation( spOperation& op ) // check for the special case of dtor wxString dtor; - if ( (funcname[0] == '~') && (m_classname == funcname.c_str() + 1) ) { + if ( (funcname[0u] == '~') && (m_classname == funcname.c_str() + 1) ) { dtor.Printf("\\destruct{%s}", m_classname.c_str()); funcname = dtor; } @@ -2203,6 +2203,9 @@ static const wxString GetVersionString() /* $Log$ + Revision 1.22.2.1 2004/05/29 20:23:33 DS + blind compilation fix for first warning and error reported by "i686-pc-linux-gnu+RH" tinderbox compilation + Revision 1.22 2002/01/21 21:18:50 JS Now adds 'include file' heading diff --git a/utils/HelpGen/src/srcparser.h b/utils/HelpGen/src/srcparser.h index 9eb017aafb..266ce65526 100644 --- a/utils/HelpGen/src/srcparser.h +++ b/utils/HelpGen/src/srcparser.h @@ -142,7 +142,7 @@ class spComment; typedef WXSTL_VECTOR_SHALLOW_COPY(spParameterPtrT) MParamListT; typedef WXSTL_VECTOR_SHALLOW_COPY(string) StrListT; -#endif; +#endif // base class for all visitors of source code contents class spVisitor