[New-bugs-announce] [issue22110] enable extra compilation warnings
report at bugs.python.org
Wed Jul 30 23:51:41 CEST 2014
New submission from Charles-François Natali:
The patch attached enables -Wsign-compare and -Wunreachable-code if supported by the compiler.
AFAICT, mixed sign comparison warning is automatically enabled by Microsoft's compiler, and is usually a good thing.
It does add some warnings though.
As for unreachable code, it's also usually a good thing, since it can be a source of bugs. Note that it's not enabled in debug mode, since in debug mode the code paths aren't the same.
nosy: haypo, neologix, pitrou
title: enable extra compilation warnings
versions: Python 3.5
Added file: http://bugs.python.org/file36169/extra_warnings.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce