diff options
author | mmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-03 21:22:54 +0000 |
---|---|---|
committer | mmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-03 21:22:54 +0000 |
commit | b86b35d3e188fa547f3b73de3c593a43e96895f7 (patch) | |
tree | a1966ab4e8ed9dac55cc2f16d6e307b5440d140c /webkit/build | |
parent | f6b6e1845c027c3d859fa17035238e718e15166b (diff) | |
download | chromium_src-b86b35d3e188fa547f3b73de3c593a43e96895f7.zip chromium_src-b86b35d3e188fa547f3b73de3c593a43e96895f7.tar.gz chromium_src-b86b35d3e188fa547f3b73de3c593a43e96895f7.tar.bz2 |
This fixes the gcc 4.1.3 build breakage due to:
src/webkit/port/history/BackForwardList.h:58: warning: 'class WebCore::BackForwardListClient' has virtual functions but non-virtual destructor
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build')
-rw-r--r-- | webkit/build/V8Bindings/SConscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/build/V8Bindings/SConscript b/webkit/build/V8Bindings/SConscript index d21769a..888a9b1 100644 --- a/webkit/build/V8Bindings/SConscript +++ b/webkit/build/V8Bindings/SConscript @@ -31,7 +31,11 @@ else: ]) if env['PLATFORM'] == 'posix': - env.Append(CCFLAGS = '-Wno-unused-variable'); + # Don't flag warnings for third-party code. + if '-Wall' in env['CCFLAGS']: + env['CCFLAGS'].remove('-Wall') + if '-Werror' in env['CCFLAGS']: + env['CCFLAGS'].remove('-Werror') inputs = [ '$SHARED_DIR/PausedTimeouts.cpp', |