From 1321fb815100f4cdce14268363253435f48051a2 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 9 May 2014 10:04:13 +0800 Subject: [PATCH] Assume users are using Xcode 5.1. --- common.gypi | 2 +- docs/development/build-instructions-mac.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.0