From e42289cec5c1bf68854783b2fdce23276383a661 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist <cazfi74@gmail.com> Date: Mon, 14 Feb 2022 03:51:33 +0200 Subject: [PATCH 45/45] 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 <cazfi74@gmail.com> --- doc/HACKING | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/HACKING b/doc/HACKING index 6a7eb084e5..d83a157fbc 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -1215,8 +1215,8 @@ value sets. The different 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 + checks: same as 'yes' but with additional compiler check that are not + even expected to work on all configurations Profiling is enabled by '--enable-gprof'. After the compilation run freeciv normally. It will be 5 to 10 times slower due to the added calls to the -- 2.34.1