New submission from Serhiy Storchaka:

The changeset 7e0e15d9957f causes annoying GCC warning in Parser/grammar1.c.

Possible solutions:

1. Revert this changes back.
2. Prohibit this type of warnings by the compiler flags.
3. Explicitly cast _PyParser_TokenNames to "char *" in PyGrammar_LabelRepr().
4. Make PyGrammar_LabelRepr() returns "const char *".

----------
components: Interpreter Core
messages: 174292
nosy: benjamin.peterson, serhiy.storchaka
priority: normal
severity: normal
stage: needs patch
status: open
title: Warning in Parser/grammar1.c
type: compile error
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16375>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to