From a281430b6bdc18651e87e409693dadfa895d2f90 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Thu, 3 Jun 2010 07:49:30 +0000 Subject: [PATCH] Have lint mean -Werror at least until the issue with -Warray-bounds and -Wunused-result can be resolved. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5586 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index fd23a4f842..1438ff3521 100644 --- a/SConstruct +++ b/SConstruct @@ -204,11 +204,11 @@ elif (flavour == 'prof'): elif (flavour == 'release'): compileFlags.append('-O3') compileFlags.append('-fomit-frame-pointer'); - warnings.append('error') # more warnings if env['lint']: - warnings.append('unreachable-code') - warnings.append('float-equal') + warnings.append('error') + #warnings.append('unreachable-code') + #warnings.append('float-equal') # add the warnings to the compile flags compileFlags += [ ('-W' + warning) for warning in warnings ]