summaryrefslogtreecommitdiffstats
path: root/sdch
diff options
context:
space:
mode:
authormostynb@opera.com <mostynb@opera.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-24 13:06:53 +0000
committermostynb@opera.com <mostynb@opera.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-24 13:06:53 +0000
commit9cfa98378aeb762634dd1e39510bbca38a4b22b0 (patch)
tree873aea21fb7f6055db37491526a3affafa871f03 /sdch
parentaa9b03f69d57abcde3fd7826cc2a84283aa4ce15 (diff)
downloadchromium_src-9cfa98378aeb762634dd1e39510bbca38a4b22b0.zip
chromium_src-9cfa98378aeb762634dd1e39510bbca38a4b22b0.tar.gz
chromium_src-9cfa98378aeb762634dd1e39510bbca38a4b22b0.tar.bz2
always use -Wno-deprecated-declarations when building sdch
This is also needed for c++11 mode in gcc 4.8, not just clang. BUG=324299 NOTRY=true Review URL: https://codereview.chromium.org/205963004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258918 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
-rw-r--r--sdch/sdch.gyp8
1 files changed, 5 insertions, 3 deletions
diff --git a/sdch/sdch.gyp b/sdch/sdch.gyp
index af65409..ff2c077b 100644
--- a/sdch/sdch.gyp
+++ b/sdch/sdch.gyp
@@ -58,8 +58,6 @@
[ 'OS == "ios"', { 'include_dirs': [ 'ios' ] } ],
[ 'OS == "mac"', { 'include_dirs': [ 'mac' ] } ],
[ 'OS == "win"', { 'include_dirs': [ 'win' ] } ],
- # TODO(mark): Remove usage of the deprecated auto_ptr.
- [ 'clang == 1', { 'cflags': [ '-Wno-deprecated-declarations' ] } ],
],
# open-vcdiff's logging.h introduces static initializers. This was
# reported upstream years ago (
@@ -96,7 +94,11 @@
]
}
},
- 'cflags': [ '-include', '<(logging_dir)/sdch/<(logging_path)' ],
+ 'cflags': [
+ '-include', '<(logging_dir)/sdch/<(logging_path)',
+ # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11:
+ '-Wno-deprecated-declarations',
+ ],
},
],
}