From patchwork Mon Feb 16 18:07:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 44725 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3212221544 for ; Mon, 16 Feb 2015 18:08:28 +0000 (UTC) Received: by labge10 with SMTP id ge10sf20517059lab.3 for ; Mon, 16 Feb 2015 10:08:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=2ouiHzAfCZvdQp4lIecm7zKiK3K829Gbp0963fZXMe4=; b=RE0JVdPT97kmpkwxgXMEPV+RUB4/mgLPBsU6kdDarMjK1eNvOy1K/r9fmS0WNrLRkl w+fM9pT2WcbuT32vehSV3gZj9/RnHixrU8yex1kX/WPg8TZM8F/ZmUq/YPrlK82oh3Kd IvTmYltDmpz3T+noy0M+vH1+Pvna1Ws7IHrP8De4AHf/4hmaHfBOVqFv7wiWQB62Z7gj yyhhggLZiskq6KZbWXk2dNRF/F4Bg1KqJRBmMPI0i0rGxnM/aShxD0egz6HAuegPbWWz Bs2lfYFSIOE+xC4n6rr+BOMuWbCYJ2quzLkU30LX0V+vkHdJTDBzFZA5sXekvk+P8VXR SXKQ== X-Gm-Message-State: ALoCoQlArwjaxmUnXyRwXzZJHUEqLl8Dea9e3svQ0v6UjY3SEYn8LrkEIrynohbHEaC2jZ58hkeG X-Received: by 10.112.119.141 with SMTP id ku13mr3152837lbb.7.1424110107101; Mon, 16 Feb 2015 10:08:27 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.165 with SMTP id uf5ls65843lac.60.gmail; Mon, 16 Feb 2015 10:08:26 -0800 (PST) X-Received: by 10.112.64.2 with SMTP id k2mr24971252lbs.54.1424110106721; Mon, 16 Feb 2015 10:08:26 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id h9si8779418laf.94.2015.02.16.10.08.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 10:08:26 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by labgm9 with SMTP id gm9so31438182lab.2 for ; Mon, 16 Feb 2015 10:08:26 -0800 (PST) X-Received: by 10.152.6.195 with SMTP id d3mr24514481laa.36.1424110106444; Mon, 16 Feb 2015 10:08:26 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1739300lbj; Mon, 16 Feb 2015 10:08:25 -0800 (PST) X-Received: by 10.140.101.151 with SMTP id u23mr1948153qge.2.1424110105275; Mon, 16 Feb 2015 10:08:25 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id q131si6634676qha.82.2015.02.16.10.08.24 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 16 Feb 2015 10:08:25 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YNQ5l-0004Zj-I5; Mon, 16 Feb 2015 18:08:21 +0000 Received: from mail-qc0-f175.google.com ([209.85.216.175]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YNQ5f-0004Ze-Dx for lng-odp@lists.linaro.org; Mon, 16 Feb 2015 18:08:15 +0000 Received: by mail-qc0-f175.google.com with SMTP id b13so19382473qcw.6 for ; Mon, 16 Feb 2015 10:08:10 -0800 (PST) X-Received: by 10.140.233.147 with SMTP id e141mr4314416qhc.74.1424110090219; Mon, 16 Feb 2015 10:08:10 -0800 (PST) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id 131sm4209378qhh.48.2015.02.16.10.08.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Feb 2015 10:08:09 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Mon, 16 Feb 2015 13:07:43 -0500 Message-Id: <1424110063-29888-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] api: debug: fix clang _ODP_STATIC_ASSERT X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Clang has its own definition of Static_assert Fixes https://bugs.linaro.org/show_bug.cgi?id=1203 Signed-off-by: Mike Holmes Reviewed-by: Anders Roxell --- include/odp/api/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/odp/api/debug.h b/include/odp/api/debug.h index 5949680..660569f 100644 --- a/include/odp/api/debug.h +++ b/include/odp/api/debug.h @@ -22,7 +22,7 @@ extern "C" { * @{ */ -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__clang__) #if __GNUC__ < 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ < 6))