Issue 31017: gcc 7 fallthrough warnings (original) (raw)

Issue31017

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

Files
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. [0] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
msg298997 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2017-07-24 17:10
This is a duplicate of bpo-30923.
History
Date User Action Args
2022-04-11 14:58:49 admin set github: 75200
2017-07-24 17:10:14 zach.ware set status: open -> closedsuperseder: Add -Wimplicit-fallthrough=0 to Makefile ?nosy: + zach.waremessages: + resolution: duplicatestage: resolved
2017-07-24 17:07:49 cstratak create