These warnings were harmless as they concerned the parameters used inside
wxASSERTs only but there were hundreds if not thousands of them in
wx/strvararg.h alone so all the rest of build output was completely lost in
them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65046
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
"format specifier doesn't match argument type" ); \
} while ( wxFalse )
#else
"format specifier doesn't match argument type" ); \
} while ( wxFalse )
#else
- #define wxASSERT_ARG_TYPE(fmt, index, expected_mask)
+ // Just define it to suppress "unused parameter" warnings for the
+ // parameters which we don't use otherwise
+ #define wxASSERT_ARG_TYPE(fmt, index, expected_mask) \
+ wxUnusedVar(fmt); \
+ wxUnusedVar(index)
#endif // wxDEBUG_LEVEL/!wxDEBUG_LEVEL
#endif // wxDEBUG_LEVEL/!wxDEBUG_LEVEL
const wxString& locale,
bool bLoadDefault
#if WXWIN_COMPATIBILITY_2_8
const wxString& locale,
bool bLoadDefault
#if WXWIN_COMPATIBILITY_2_8
+ ,bool WXUNUSED_UNLESS_DEBUG(bConvertEncoding)
-static gboolean wx_on_channel_event(GIOChannel *channel,
+static gboolean wx_on_channel_event(GIOChannel * WXUNUSED_UNLESS_DEBUG(channel),
GIOCondition condition,
gpointer data)
{
GIOCondition condition,
gpointer data)
{