[issue20374] Failure to compile with readline-6.3-rc1
Serhiy Storchaka
report at bugs.python.org
Sat Jan 25 19:29:38 CET 2014
Serhiy Storchaka added the comment:
I'm surprised that warnings are emitted at lines 939 and 941, but not 944.
I think that instead type casting, the more robust way is to change hook functions signatures for on_startup_hook and on_pre_input_hook.
static int
#ifdef _RL_FUNCTION_TYPEDEF /* or may be test libedit macro? */
on_startup_hook(void)
#else
on_startup_hook()
#endif
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20374>
_______________________________________
More information about the Python-bugs-list
mailing list