diff --git a/utils/HelpGen/src/scriptbinder.h b/utils/HelpGen/src/scriptbinder.h index 17c52ffcb5..3d638e4290 100644 --- a/utils/HelpGen/src/scriptbinder.h +++ b/utils/HelpGen/src/scriptbinder.h @@ -327,7 +327,7 @@ protected: // return FALSE, if something has gone wrong and // document cannot be saved now - virtual bool OnSaveDocument( ScriptStream& stm ) + virtual bool OnSaveDocument( ScriptStream& WXUNUSED(stm) ) { return 1; } // override this method to provide reference to diff --git a/utils/HelpGen/src/srcparser.h b/utils/HelpGen/src/srcparser.h index 846294f3dd..a6ee4668d3 100644 --- a/utils/HelpGen/src/srcparser.h +++ b/utils/HelpGen/src/srcparser.h @@ -202,25 +202,25 @@ public: // multiple times by variouse visitors (there can // be more the one visitor visiting content at a time) - virtual void VisitFile( spFile& fl ) {} + virtual void VisitFile( spFile& WXUNUSED(fl) ) {} - virtual void VisitNameSpace( spNameSpace& ns ) {} + virtual void VisitNameSpace( spNameSpace& WXUNUSED(ns) ) {} - virtual void VisitClass( spClass& cl ) {} + virtual void VisitClass( spClass& WXUNUSED(cl) ) {} - virtual void VisitEnumeration( spEnumeration& en ) {} + virtual void VisitEnumeration( spEnumeration& WXUNUSED(en) ) {} - virtual void VisitTypeDef( spTypeDef& td ) {} + virtual void VisitTypeDef( spTypeDef& WXUNUSED(td) ) {} - virtual void VisitPreprocessorLine( spPreprocessorLine& pd ) {} + virtual void VisitPreprocessorLine( spPreprocessorLine& WXUNUSED(pd) ) {} - virtual void VisitAttribute( spAttribute& attr ) {} + virtual void VisitAttribute( spAttribute& WXUNUSED(attr) ) {} - virtual void VisitOperation( spOperation& op ) {} + virtual void VisitOperation( spOperation& WXUNUSED(op) ) {} - virtual void VisitParameter( spParameter& param ) {} + virtual void VisitParameter( spParameter& WXUNUSED(param) ) {} - virtual void VisitCustomContext( spContext& ctx ) {} + virtual void VisitCustomContext( spContext& WXUNUSED(ctx) ) {} }; // stores one section of comments, diff --git a/utils/HelpGen/src/wxstlvec.h b/utils/HelpGen/src/wxstlvec.h index c7b2daf27c..24ecb3adbe 100644 --- a/utils/HelpGen/src/wxstlvec.h +++ b/utils/HelpGen/src/wxstlvec.h @@ -186,7 +186,7 @@ protected:\ \ protected:\ \ - inline void quick_sort(int low, int hi) \ + inline void quick_sort(int WXUNUSED(low), int WXUNUSED(hi)) \ {\ }\ \ @@ -337,7 +337,7 @@ public:\ \ inline const_reference back() const { return (*(mpEnd-1)); }\ \ - inline void reserve(size_type n) {}\ + inline void reserve(size_type WXUNUSED(n)) {}\ \ inline void push_back(const value_type& x)\ {\ @@ -558,11 +558,11 @@ protected:\ \ protected:\ \ - inline void quick_sort(int low, int hi) \ + inline void quick_sort(int WXUNUSED(low), int WXUNUSED(hi)) \ {\ }\ \ - inline void DestructRange( iterator first, iterator last )\ + inline void DestructRange( iterator WXUNUSED(first), iterator WXUNUSED(last))\ {\ }\ \ @@ -702,7 +702,7 @@ public:\ \ inline const_reference back() const { return (*(mpEnd-1)); }\ \ - inline void reserve(size_type n) {}\ + inline void reserve(size_type WXUNUSED(n)) {}\ \ inline void push_back(const value_type& x)\ {\