From: Cheng Zhao Date: Fri, 9 May 2014 02:04:13 +0000 (+0800) Subject: Assume users are using Xcode 5.1. X-Git-Tag: v0.12.4~10 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=1321fb815100f4cdce14268363253435f48051a2;p=electron.git Assume users are using Xcode 5.1. --- diff --git a/common.gypi b/common.gypi index 17d43fb3..820bf959 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', ], diff --git a/docs/development/build-instructions-mac.md b/docs/development/build-instructions-mac.md index f1556dc5..40260c39 100644 --- a/docs/development/build-instructions-mac.md +++ b/docs/development/build-instructions-mac.md @@ -3,7 +3,7 @@ ## Prerequisites * Mac OS X >= 10.7 -* [Xcode](https://developer.apple.com/technologies/tools/) +* [Xcode](https://developer.apple.com/technologies/tools/) >= 5.1 * [node.js](http://nodejs.org) If you are using the python downloaded by Homebrew, you also need to install