New submission from Stéphane Wirtel <steph...@wirtel.be>:

Hi Stefan,

When I compile the last master, I get this warning.

Could do you try?

Thanks

/home/stephane/src/github.com/python/cpython/Include 
-I/home/stephane/src/github.com/python/cpython -c 
/home/stephane/src/github.com/python/cpython/Modules/_elementtree.c -o 
build/temp.linux-x86_64-3.8-pydebug/home/stephane/src/github.com/python/cpython/Modules/_elementtree.o
/home/stephane/src/github.com/python/cpython/Modules/_elementtree.c: In 
function ‘checkpath’:
/home/stephane/src/github.com/python/cpython/Modules/_elementtree.c:1174:44: 
warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
                 p[1] == '}' || p[1] == '*' && p[2] == '}')) {
                                ~~~~~~~~~~~~^~~~~~~~~~~~~~

----------
assignee: scoder
components: Build
messages: 341507
nosy: matrixise, scoder
priority: normal
severity: normal
status: open
title: Warning when compiling _elementree.c
versions: Python 3.8

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

Reply via email to