Follow-up Comment #4, patch #6912 (project freeciv):
On my system, trunk compilation is failing in a way that "./config.status
--recheck" doesn't help with:
CC console.lo
../../server/console.c: In function 'con_update_prompt':
../../server/console.c:98:5: error: implicit declaration of function
'rl_forced_update_display' [-Werror=implicit-function-declaration]
rl_forced_update_display();
^
../../server/console.c:98:5: error: nested extern declaration of
'rl_forced_update_display' [-Werror=nested-externs]
../../server/console.c: At top level:
cc1: error: unrecognized command line option "-Wno-tautological-compare"
[-Werror]
cc1: all warnings being treated as errors
make[2]: *** [console.lo] Error 1
make[2]: Leaving directory `/home/jtn/src/freeciv/git/btrunk/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jtn/src/freeciv/git/btrunk/server'
make: *** [all-recursive] Error 1
Moving the "#include <readine/readline.h>" later in the file makes it build --
after the next line #including "fcbacktrace.h" is sufficient.
I assume that console.c is not ensuring freeciv_config.h is included in the
correct way; but I don't know what the correct way is.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6912>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev