From: Cheng Zhao Date: Mon, 14 Apr 2014 16:18:42 +0000 (+0800) Subject: Do not use new clang flags. X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b0b5d1b1b0897e99ed8317f22a5177c76d0043a8;p=electron.git Do not use new clang flags. --- diff --git a/common.gypi b/common.gypi index 820bf959..17d43fb3 100644 --- a/common.gypi +++ b/common.gypi @@ -113,9 +113,9 @@ 'conditions': [ ['OS=="mac"', { 'xcode_settings': { + 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', 'WARNING_CFLAGS': [ '-Wno-deprecated-declarations', - '-Wno-deprecated-register', '-Wno-unused-private-field', '-Wno-unused-function', ],