mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
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
This commit is contained in:
parent
2c8e96d857
commit
a281430b6b
1 changed files with 3 additions and 3 deletions
|
@ -204,11 +204,11 @@ elif (flavour == 'prof'):
|
||||||
elif (flavour == 'release'):
|
elif (flavour == 'release'):
|
||||||
compileFlags.append('-O3')
|
compileFlags.append('-O3')
|
||||||
compileFlags.append('-fomit-frame-pointer');
|
compileFlags.append('-fomit-frame-pointer');
|
||||||
warnings.append('error')
|
|
||||||
# more warnings
|
# more warnings
|
||||||
if env['lint']:
|
if env['lint']:
|
||||||
warnings.append('unreachable-code')
|
warnings.append('error')
|
||||||
warnings.append('float-equal')
|
#warnings.append('unreachable-code')
|
||||||
|
#warnings.append('float-equal')
|
||||||
|
|
||||||
# add the warnings to the compile flags
|
# add the warnings to the compile flags
|
||||||
compileFlags += [ ('-W' + warning) for warning in warnings ]
|
compileFlags += [ ('-W' + warning) for warning in warnings ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue