Quick fix to avoid unnecessary compiler warnings from duplicate __WXDEBUG__ defines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -947,7 +947,6 @@ AC_SUBST(WXDEBUG)
|
|||||||
|
|
||||||
if test "$USE_DEBUG_FLAG" = 1 ; then
|
if test "$USE_DEBUG_FLAG" = 1 ; then
|
||||||
AC_DEFINE_UNQUOTED(WXDEBUG,$USE_DEBUG_FLAG)
|
AC_DEFINE_UNQUOTED(WXDEBUG,$USE_DEBUG_FLAG)
|
||||||
AC_DEFINE_UNQUOTED(__WXDEBUG__,$USE_DEBUG_FLAG)
|
|
||||||
WXDEBUG_DEFINE="-D__WXDEBUG__"
|
WXDEBUG_DEFINE="-D__WXDEBUG__"
|
||||||
AC_SUBST(WXDEBUG_DEFINE)
|
AC_SUBST(WXDEBUG_DEFINE)
|
||||||
fi
|
fi
|
||||||
|
@@ -194,10 +194,6 @@
|
|||||||
* Enables debugging: memory tracing, assert, etc., contains debug level
|
* Enables debugging: memory tracing, assert, etc., contains debug level
|
||||||
*/
|
*/
|
||||||
#undef WXDEBUG
|
#undef WXDEBUG
|
||||||
/*
|
|
||||||
* Enables debugging: memory tracing, assert, etc., undefined if no debugging
|
|
||||||
*/
|
|
||||||
#undef __WXDEBUG__
|
|
||||||
/*
|
/*
|
||||||
* Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
|
* Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
|
||||||
* WARNING: this code may not work with all architectures, especially
|
* WARNING: this code may not work with all architectures, especially
|
||||||
|
@@ -194,10 +194,6 @@
|
|||||||
* Enables debugging: memory tracing, assert, etc., contains debug level
|
* Enables debugging: memory tracing, assert, etc., contains debug level
|
||||||
*/
|
*/
|
||||||
#undef WXDEBUG
|
#undef WXDEBUG
|
||||||
/*
|
|
||||||
* Enables debugging: memory tracing, assert, etc., undefined if no debugging
|
|
||||||
*/
|
|
||||||
#undef __WXDEBUG__
|
|
||||||
/*
|
/*
|
||||||
* Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
|
* Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
|
||||||
* WARNING: this code may not work with all architectures, especially
|
* WARNING: this code may not work with all architectures, especially
|
||||||
|
Reference in New Issue
Block a user