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. ---------- components: Build files: extra_warnings.diff keywords: patch messages: 224349 nosy: haypo, neologix, pitrou priority: normal severity: normal status: open title: enable extra compilation warnings type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file36169/extra_warnings.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22110> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com