mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-20 14:26:17 +00:00
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 <damien.lespiau@intel.com>
This commit is contained in:
parent
241c5a1322
commit
7902f2c08c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user