From e38e08952560b9eebd547e8919e12ec3dc193085 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Sep 2021 17:50:29 +0100 Subject: [PATCH] Update configure --enable-debug[_flag] options description Don't say that the application needs to be compiled with the same __WXDEBUG__ value, as this is not true since 3.0 days. Also link the debugging overview. --- docs/gtk/install.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/gtk/install.md b/docs/gtk/install.md index 88930f2819..4c53e5412e 100644 --- a/docs/gtk/install.md +++ b/docs/gtk/install.md @@ -210,15 +210,13 @@ Some other general compilation options: as gdb (or its many frontends). * `--enable-debug_flag` \n - Define __DEBUG__ and __WXDEBUG__ when compiling. This enable wxWidgets' very - useful internal debugging tricks (such as automatically reporting illegal - calls) to work. Note that program and library must be compiled with the same - debug options. + Enable internal debugging checks, that are very useful during development + and allow to diagnose illegal parameters to wxWidgets functions as long as + the application doesn't predefine `NDEBUG` (see @ref overview_debugging). * `--enable-debug` \n - Same as --enable-debug_info and --enable-debug_flag together. Unless you - have some very specific needs, you should use this option instead of - --enable-debug_info/flag ones separately. + Same as `--enable-debug_info` and `--enable-debug_flag` together. Typically + this is the option you want to use. To reduce the final libraries (or executables, when linking statically) size, many wxWidgets features may be disabled. Here