added attribute printf checks to printf like functions (when using gcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -330,8 +330,8 @@ private:
|
||||
};
|
||||
|
||||
// Output a debug message, in a system dependent fashion.
|
||||
void WXDLLEXPORT wxTrace(const wxChar *fmt ...);
|
||||
void WXDLLEXPORT wxTraceLevel(int level, const wxChar *fmt ...);
|
||||
void WXDLLEXPORT wxTrace(const wxChar *fmt ...) ATTRIBUTE_PRINTF_1;
|
||||
void WXDLLEXPORT wxTraceLevel(int level, const wxChar *fmt ...) ATTRIBUTE_PRINTF_2;
|
||||
|
||||
#define WXTRACE wxTrace
|
||||
#define WXTRACELEVEL wxTraceLevel
|
||||
|
Reference in New Issue
Block a user