From 7902f2c08ce1cbe591f3ce43621d42d42a44bdf9 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Sat, 19 Jan 2013 23:25:22 +0000 Subject: [PATCH] assembler: Don't use -Wpointer-arith 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bc8bd391..1c4e1c65 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