added attribute printf to perform printf format checks (GNU C)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-06-23 16:58:27 +00:00
parent 0078f87f40
commit f9b170bd18
2 changed files with 5 additions and 5 deletions

View File

@@ -490,7 +490,7 @@ void WXDLLEXPORT wxGetMousePosition( int* x, int* y );
// Format a message on the standard error (UNIX) or the debugging
// stream (Windows)
WXDLLEXPORT void wxDebugMsg(const wxChar *fmt ...);
WXDLLEXPORT void wxDebugMsg(const wxChar *fmt ...) ATTRIBUTE_PRINTF_1;
// Non-fatal error (continues)
WXDLLEXPORT_DATA(extern const wxChar*) wxInternalErrorStr;