Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 897AE200C14 for ; Tue, 7 Feb 2017 21:36:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 88154160B3E; Tue, 7 Feb 2017 20:36:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A1987160B32 for ; Tue, 7 Feb 2017 21:36:14 +0100 (CET) Received: (qmail 33509 invoked by uid 500); 7 Feb 2017 20:36:13 -0000 Mailing-List: contact commits-help@quickstep.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@quickstep.incubator.apache.org Delivered-To: mailing list commits@quickstep.incubator.apache.org Received: (qmail 33499 invoked by uid 99); 7 Feb 2017 20:36:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2017 20:36:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 23FD518C401 for ; Tue, 7 Feb 2017 20:36:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3d1D2YtPd64v for ; Tue, 7 Feb 2017 20:36:12 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 9DC485F254 for ; Tue, 7 Feb 2017 20:36:11 +0000 (UTC) Received: (qmail 33494 invoked by uid 99); 7 Feb 2017 20:36:05 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2017 20:36:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7EB28DFBDB; Tue, 7 Feb 2017 20:36:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: spehl@apache.org To: commits@quickstep.incubator.apache.org Message-Id: <8564aec9cb974d6ea5ab79a339d454f6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-quickstep git commit: Adds regex to specify 16.+ versions of Darwin Date: Tue, 7 Feb 2017 20:36:05 +0000 (UTC) archived-at: Tue, 07 Feb 2017 20:36:15 -0000 Repository: incubator-quickstep Updated Branches: refs/heads/master 669a74c71 -> ec76096bc Adds regex to specify 16.+ versions of Darwin Before this change, only one recent version of Darwin was correcly having the compiler flags modified to allow for deprecated syscalls. After this change, all versions of Darwin 16+ should correcly apply the cxx flags. This is still a somewhat temporary fix because the real issue (replacing the deprecated calls) has not been addressed. Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/ec76096b Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/ec76096b Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/ec76096b Branch: refs/heads/master Commit: ec76096bc766c1a2c0f21929b3a998c51e417208 Parents: 669a74c Author: cramja Authored: Tue Feb 7 11:28:39 2017 -0600 Committer: cramja Committed: Tue Feb 7 14:33:41 2017 -0600 ---------------------------------------------------------------------- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/ec76096b/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index e74a274..918069c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,7 +299,7 @@ else() # builds to fail. As a short-term workaround for now, we turn off deprecated # warnings so that they do not cause build failures anymore. # TODO: Remove this workaround by fixing the protobuf_cmake and glog_cmake. - if (${CMAKE_SYSTEM} MATCHES "Darwin-16.1.0") + if (${CMAKE_SYSTEM} MATCHES "Darwin-16.[0-9]*.[0-9]*") if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") CHECK_CXX_COMPILER_FLAG("-Wno-error=deprecated-declarations" COMPILER_HAS_WNO_DEPRECATED) if (COMPILER_HAS_WNO_DEPRECATED)