Follow-up Comment #5, bug #23069 (project freeciv):
My S2_6 build is failing:
make[2]: Entering directory `/home/jtn/src/freeciv/git/bS2_6/utility'
CC log.lo
../../utility/log.c:300:7: error: no previous prototype for
'log_do_output_for_level_at_location' [-Werror=missing-prototypes]
bool log_do_output_for_level_at_location(enum log_level level,
^
Definition is guarded by DEBUG, declaration by FREECIV_DEBUG.
I have --enable-debug in configure (and have rerun autogen.sh), and:
bS2_6/gen_headers/fc_config.h:#define DEBUG 1
bS2_6/gen_headers/freeciv_config.h:#define FREECIV_DEBUG 1
Probably the decl/defn should use the same guard, but I guess this might also
expose one of these headers not being included somewhere it should be?
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23069>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev