0

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
This commit is contained in:
mostynb@opera.com
2014-03-24 13:06:53 +00:00
parent aa9b03f69d
commit 9cfa98378a

@ -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',
],
},
],
}