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.

Author svelankar
Recipients svelankar, vstinner
Date 2017-03-14.17:22:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489512166.3.0.12568716207.issue29674@psf.upfronthosting.co.za>
In-reply-to
Content
Ok. 

As a side note, while compiling python source using gcc 7 [gcc (GCC) 7.0.1 20170314 (experimental)], few places in the code with case fallthrough (must be intentional) triggered this warning - -Wimplicit-fallthrough=.

We can either disable this warning altogether (downside being unintended fallthroughs will go unnoticed) OR  pass some flag [https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/] to -Wimplicit-fallthrough=. so that it does a regex match on the comments defined [something like  /* fall through code */] in that specific part of the code and suppresses the warning. The downside to this is that these comments might have to be inserted wherever they are missing and new code introduced in the future with intentional fallthroughs need to write those comments. Please let me know.
History
Date User Action Args
2017-03-14 17:22:46svelankarsetrecipients: + svelankar, vstinner
2017-03-14 17:22:46svelankarsetmessageid: <1489512166.3.0.12568716207.issue29674@psf.upfronthosting.co.za>
2017-03-14 17:22:46svelankarlinkissue29674 messages
2017-03-14 17:22:46svelankarcreate