Check wxPrintf etc. arguments types.
Implements checks similar to gcc's compile-time checks: verify that the arguments are of correct types. This works partially at compile time (e.g. passing an object as argument fails to compile) and partially at runtime (assert if the specifier doesn't match the type). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -325,6 +325,12 @@ typedef short int WXTYPE;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_TR1_TYPE_TRAITS
|
||||
#if defined(__VISUALC__) && (_MSC_FULL_VER >= 150030729)
|
||||
#define HAVE_TR1_TYPE_TRAITS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* provide replacement for C99 va_copy() if the compiler doesn't have it */
|
||||
|
||||
/* could be already defined by configure or the user */
|
||||
|
Reference in New Issue
Block a user