[Intel-gfx] [PATCH 30/90] assembler: Don't use -Wpointer-arith

Damien Lespiau damien.lespiau at intel.com
Mon Feb 4 16:27:25 CET 2013


Mesa's code uses the GNU C extension that allows additions and
soustractions on void* (+/- 1).

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 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




More information about the Intel-gfx mailing list