From 32958d02b689fbf8ee55480bc4f6290d3362212d Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 14 Feb 2022 03:59:14 +0200 Subject: [PATCH 10/10] HACKING: Do not list exact flags enabled by --enable-debug=checks The list was outdated. Replace it with generic explanation of the kind of the flags. The text was already referring to debug.m4 as the place to check the exact flags. See osdn #43862 Signed-off-by: Marko Lindqvist --- doc/HACKING | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/HACKING b/doc/HACKING index dad6784050..a3d60c9cc2 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -1214,12 +1214,12 @@ values have roughly the following meaning: yes: debugging enable (FREECIV_DEBUG is defined) debugging log level available (4, log_debug()) more compiler warning flags than with lower debug levels - checks: same as 'yes' but with one additional compiler check: - -Wstrict-prototypes - This is OK for the server and most clients but in the case - of the gtk client there is a problems in its main external library - (gtk2) which prevent the compilation of the client using the - extended flags. A fix is available but will not be applied due to + checks: same as 'yes' but with additional compiler checks that are not + even expected to work on all configurations. + In the case of the gtk2-client there is a problems in its + main external library (gtk2) which prevent the compilation + of the client using the extended flags. + A fix is available but will not be applied due to compatibility issues. To compile freeciv with this option, temporary patch the file gtkitemfactory.h (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=148766). -- 2.34.1