configure.ac: Add -Wpointer-arith to the maintainer CFLAGS
authorNeil Roberts <neil@linux.intel.com>
Tue, 15 Feb 2011 12:36:58 +0000 (12:36 +0000)
committerNeil Roberts <neil@linux.intel.com>
Tue, 15 Feb 2011 14:26:17 +0000 (14:26 +0000)
commite52cc75f072fa604c840e1ef9ae2a2418d6d222f
tree47494ad7ba5cdbaeb031f19f7c5ccd56c6f6be47
parent6dc4af1c5da3e99324272fff3014da5d2c0e343a
configure.ac: Add -Wpointer-arith to the maintainer CFLAGS

GCC by default allows pointer arithmetic on void* pointers and treats
them as having a size of 1 byte. This is non-standard behaviour and
causes errors on some compilers so we should try to avoid
it. -Wpointer-arith warns about these cases.
configure.ac