[issue20525] Got compiler warning when compiling readline module

2017-03-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> works for me stage: -> resolved status: pending -> closed ___ Python tracker

[issue20525] Got compiler warning when compiling readline module

2015-09-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___

[issue20525] Got compiler warning when compiling readline module

2014-02-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting, how compiler got this warning? In readline6 the declarations of legacy functions including completion_matches are in #if 0 block. In libedit it declared with const char *. -- ___ Python tracker

[issue20525] Got compiler warning when compiling readline module

2014-02-07 Thread Vajrasky Kok
Vajrasky Kok added the comment: It's weird. When I make clean and configure again and make again, the error warning message disappear. Prior to that, I could confirm, I was in this block: #ifdef HAVE_RL_COMPLETION_MATCHES #define completion_matches(x, y) \ rl_completion_matches((x),

[issue20525] Got compiler warning when compiling readline module

2014-02-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Then perhaps this is just misconfiguration. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20525 ___ ___

[issue20525] Got compiler warning when compiling readline module

2014-02-06 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20525 ___

[issue20525] Got compiler warning when compiling readline module

2014-02-06 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20525 ___

[issue20525] Got compiler warning when compiling readline module

2014-02-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What will happen if change the signature of completion_matches to const char*? -- nosy: +benjamin.peterson, ned.deily, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20525

[issue20525] Got compiler warning when compiling readline module

2014-02-06 Thread Vajrasky Kok
Vajrasky Kok added the comment: It works. I chose Christian Heimes' strategy because of: char ** completion_matches (char *text, CPFunction *entry_func) in http://web.mit.edu/gnu/doc/html/rlman_2.html -- ___ Python tracker rep...@bugs.python.org

[issue20525] Got compiler warning when compiling readline module

2014-02-05 Thread Vajrasky Kok
New submission from Vajrasky Kok: 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’