Message210364
On Fedora 20, I got this compiler warning:
/home/sky/Code/python/cpython3.4/Modules/readline.c: In function ‘flex_complete’:
/home/sky/Code/python/cpython3.4/Modules/readline.c:962:5: warning: passing argument 1 of ‘completion_matches’ discards ‘const’ qualifier from pointer target type [enabled by default]
result = completion_matches(text, *on_completion);
^
/home/sky/Code/python/cpython3.4/Modules/readline.c:40:15: note: expected ‘char *’ but argument is of type ‘const char *’
extern char **completion_matches(char *, rl_compentry_func_t *);
^
Here is the patch using Christian Heimes' strategy in silencing compiler warning in dbm module.
http://hg.python.org/cpython/rev/3068ff3d9d1e |
|
Date |
User |
Action |
Args |
2014-02-06 07:58:12 | vajrasky | set | recipients:
+ vajrasky |
2014-02-06 07:58:12 | vajrasky | set | messageid: <1391673492.51.0.068271536657.issue20525@psf.upfronthosting.co.za> |
2014-02-06 07:58:12 | vajrasky | link | issue20525 messages |
2014-02-06 07:58:11 | vajrasky | create | |
|