[issue31017] gcc 7 fallthrough warnings

2017-07-24 Thread Zachary Ware
Zachary Ware added the comment: This is a duplicate of bpo-30923. -- nosy: +zach.ware resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add -Wimplicit-fallthrough=0 to Makefile ? ___ Python tracker

[issue31017] gcc 7 fallthrough warnings

2017-07-24 Thread Charalampos Stratakis
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