diff mbox

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

Message ID 1359991705-5254-31-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien Feb. 4, 2013, 3:27 p.m. UTC
Mesa's code uses the GNU C extension that allows additions and
soustractions on void* (+/- 1).

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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