Index: sdch/sdch.gyp |
diff --git a/sdch/sdch.gyp b/sdch/sdch.gyp |
index af65409c9a37a8fdd0e43521abf05fbd1567532a..e71a2360892e8b5bddbe5ad166497fb560d42724 100644 |
--- a/sdch/sdch.gyp |
+++ b/sdch/sdch.gyp |
@@ -52,14 +52,14 @@ |
'open-vcdiff/src', |
], |
}, |
+ # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11. |
+ 'cflags': [ '-Wno-deprecated-declarations' ], |
jochen (gone - plz use gerrit)
2014/03/20 16:19:01
does windows understand this? maybe we need os_pos
Nico
2014/03/20 16:23:05
Windows doesn't use 'cflags'. But gcc 4.6 might ge
Mostyn Bramley-Moore
2014/03/20 16:24:17
Oh, right. I always forget windows. Will do.
Nico
2014/03/20 16:25:05
Nonono, windows doesn't use cflags.
Mostyn Bramley-Moore
2014/03/20 16:29:23
OK, I'll move it back then.
|
'conditions': [ |
[ 'OS == "linux" or OS == "android"', { 'include_dirs': [ 'linux' ] } ], |
[ 'os_bsd==1 or OS=="solaris"', { 'include_dirs': [ 'bsd' ] } ], |
[ '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 ( |