New submission from Charalampos Stratakis:

On gcc 7 the new -Wimplicit-fallthrough option was introduced which produces 
warnings about switch cases that can fall through.

The easiest way to silence these warnings is to add the comment /* Falls 
through. */ for those cases. More information here [0]

Attaching the stderr output from compilation from the master branch.

[0] 
https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/

----------
files: fallthrough36
messages: 298996
nosy: cstratak
priority: normal
severity: normal
status: open
title: gcc 7 fallthrough warnings
versions: Python 3.7
Added file: http://bugs.python.org/file47039/fallthrough36

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

Reply via email to