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:
@ -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',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
Reference in New Issue
Block a user