From 7f2e78ed5d955983f1a5b3bac6e639040ddcd3c9 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Mon, 13 Oct 2003 17:21:30 +0000 Subject: [PATCH] Compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/HelpGen/src/HelpGen.cpp | 5 ++++- utils/HelpGen/src/srcparser.h | 2 +- utils/HelpGen/src/wxstlac.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/utils/HelpGen/src/HelpGen.cpp b/utils/HelpGen/src/HelpGen.cpp index 9ceff9f071..3f8541a125 100644 --- a/utils/HelpGen/src/HelpGen.cpp +++ b/utils/HelpGen/src/HelpGen.cpp @@ -1278,7 +1278,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; } @@ -2185,6 +2185,9 @@ static const wxString GetVersionString() /* $Log$ + Revision 1.27 2003/10/13 17:21:30 MBN + Compilation fixes. + Revision 1.26 2003/09/29 15:18:35 MBN (Blind) compilation fix for Sun compiler. diff --git a/utils/HelpGen/src/srcparser.h b/utils/HelpGen/src/srcparser.h index e92a10be33..fa1c268b1b 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 diff --git a/utils/HelpGen/src/wxstlac.h b/utils/HelpGen/src/wxstlac.h index f71ef3405d..71b11773e7 100644 --- a/utils/HelpGen/src/wxstlac.h +++ b/utils/HelpGen/src/wxstlac.h @@ -22,7 +22,7 @@ #endif #include #include -#include +/* #include */ // the below macro used internally (see actual interface after this macro)