1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-08 16:39:59 +02:00

This corrects the debugging level used when building the

wxWidgets libs on Windows.  It will disable the assertions
in release builds.
This commit is contained in:
Leland Lucius 2015-10-08 17:35:14 -07:00
parent c7792dd52f
commit 31fc2c14e4
2 changed files with 25 additions and 9 deletions

View File

@ -1,6 +1,22 @@
diff -wruN orig/wxWidgets-3.0.2/include/wx/msw/setup.h wxWidgets-3.0.2/include/wx/msw/setup.h --- orig/include/wx/msw/setup.h 2014-10-06 14:33:44.000000000 -0700
--- orig/include/wx/msw/setup.h 2014-10-06 16:33:44.000000000 -0500 +++ include/wx/msw/setup.h 2015-10-08 17:32:21.223729900 -0700
+++ include/wx/msw/setup.h 2014-10-14 18:38:37.992586000 -0500 @@ -65,11 +65,11 @@
// NDEBUG) or, on the contrary, enable more asserts, including the usually
// disabled ones, in the debug build (then do it inside #ifndef NDEBUG)
//
-// #ifdef NDEBUG
-// #define wxDEBUG_LEVEL 0
-// #else
-// #define wxDEBUG_LEVEL 2
-// #endif
+#ifdef NDEBUG
+ #define wxDEBUG_LEVEL 0
+#else
+ #define wxDEBUG_LEVEL 1
+#endif
// wxHandleFatalExceptions() may be used to catch the program faults at run
// time and, instead of terminating the program with a usual GPF message box,
@@ -1366,7 +1366,7 @@ @@ -1366,7 +1366,7 @@
// Default is 0. // Default is 0.
// //

View File

@ -65,11 +65,11 @@
// NDEBUG) or, on the contrary, enable more asserts, including the usually // NDEBUG) or, on the contrary, enable more asserts, including the usually
// disabled ones, in the debug build (then do it inside #ifndef NDEBUG) // disabled ones, in the debug build (then do it inside #ifndef NDEBUG)
// //
// #ifdef NDEBUG #ifdef NDEBUG
// #define wxDEBUG_LEVEL 0 #define wxDEBUG_LEVEL 0
// #else #else
// #define wxDEBUG_LEVEL 2 #define wxDEBUG_LEVEL 1
// #endif #endif
// wxHandleFatalExceptions() may be used to catch the program faults at run // wxHandleFatalExceptions() may be used to catch the program faults at run
// time and, instead of terminating the program with a usual GPF message box, // time and, instead of terminating the program with a usual GPF message box,