From: Damien Lespiau Subject: [PATCH 30/90] assembler: Don't use -Wpointer-arith Date: Mon, 4 Feb 2013 15:27:25 +0000 Message-ID: <1359991705-5254-31-git-send-email-damien.lespiau@intel.com> References: <1359991705-5254-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 87AE4E5EA1 for ; Mon, 4 Feb 2013 07:29:27 -0800 (PST) In-Reply-To: <1359991705-5254-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Mesa's code uses the GNU C extension that allows additions and soustractions on void* (+/- 1). Signed-off-by: Damien Lespiau --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 832c6e4..cd1c201 100644 --- a/configure.ac +++ b/configure.ac @@ -64,7 +64,7 @@ XORG_DEFAULT_OPTIONS # it generates waaaay to many warnings. ASSEMBLER_WARN_CFLAGS="" if test "x$GCC" = "xyes"; then - ASSEMBLER_WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \ + ASSEMBLER_WARN_CFLAGS="-Wall -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations \ -Wnested-externs -fno-strict-aliasing" fi -- 1.7.7.5