X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2da2f941bbd25599c2c1453204b5f1a4e116ae91..9c54e4ae1f401a9c337b97b588e5a356d79cbe82:/src/common/dynarray.cpp diff --git a/src/common/dynarray.cpp b/src/common/dynarray.cpp index 9933c0bc75..ef5203fc9f 100644 --- a/src/common/dynarray.cpp +++ b/src/common/dynarray.cpp @@ -13,7 +13,7 @@ // headers // ============================================================================ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dynarray.h" #endif @@ -432,7 +432,7 @@ _WX_DEFINE_BASEARRAY(double, wxBaseArrayDouble) _WX_DEFINE_BASEARRAY(wxString, wxBaseArrayStringBase); -int wxArrayString::Index(const wxChar* sz, bool bCase, bool bFromEnd) const +int wxArrayString::Index(const wxChar* sz, bool bCase, bool WXUNUSED(bFromEnd)) const { wxArrayString::const_iterator it; @@ -458,7 +458,7 @@ private: fnc m_f; }; -int wxSortedArrayString::Index(const wxChar* sz, bool bCase, bool bFromEnd) const +int wxSortedArrayString::Index(const wxChar* sz, bool bCase, bool WXUNUSED(bFromEnd)) const { wxSortedArrayString::const_iterator it;