From 63abcdc0f89cdde6d4729f56ac94275677a186d6 Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Sat, 29 Jan 2011 09:49:18 +0300 Subject: [PATCH] Add command line flag --warning-errors and gcc compat alias -Werror --- Cython/Compiler/CmdLine.py | 3 +++ Cython/Compiler/Errors.py | 2 ++ Cython/Compiler/Options.py | 3 +++ 3 files changed, 8 insertions(+) diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py index 60eff8db..327d38b7 100644 --- a/Cython/Compiler/CmdLine.py +++ b/Cython/Compiler/CmdLine.py @@ -38,6 +38,7 @@ Options: -2 Compile based on Python-2 syntax and code semantics. -3 Compile based on Python-3 syntax and code semantics. --fast-fail Abort the compilation on the first error + --warning-error, -Werror Make all warnings into errors -X, --directive =[,