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.

Title: gcc 7 fallthrough warnings
Type: Stage: resolved
Components: Versions: Python 3.7
Status: closed Resolution: duplicate
Dependencies: Superseder: Add -Wimplicit-fallthrough=0 to Makefile ?
View: 30923
Assigned To: Nosy List: cstratak, zach.ware
Priority: normal Keywords:

Created on 2017-07-24 17:07 by cstratak, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit
fallthrough36 cstratak, 2017-07-24 17:07
Messages (2)
msg298996 - (view) Author: Charalampos Stratakis (cstratak) * Date: 2017-07-24 17:07
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.

msg298997 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2017-07-24 17:10
This is a duplicate of bpo-30923.
Date User Action Args
2022-04-11 14:58:49adminsetgithub: 75200
2017-07-24 17:10:14zach.waresetstatus: open -> closed

superseder: Add -Wimplicit-fallthrough=0 to Makefile ?

nosy: + zach.ware
messages: + msg298997
resolution: duplicate
stage: resolved
2017-07-24 17:07:49cstratakcreate