This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients vajrasky
Date 2014-02-06.07:58:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2014-02-06 07:58:12vajraskysetrecipients: + vajrasky
2014-02-06 07:58:12vajraskysetmessageid: <>
2014-02-06 07:58:12vajraskylinkissue20525 messages
2014-02-06 07:58:11vajraskycreate