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.
MAINTAINER_COMPILER_FLAGS="-Wall -Wshadow -Wcast-align -Wuninitialized
-Wno-strict-aliasing -Wempty-body -Wformat
-Wformat-security -Winit-self
- -Wdeclaration-after-statement -Wvla"
+ -Wdeclaration-after-statement -Wvla
+ -Wpointer-arith"
AS_CASE([$enable_maintainer_flags],
[yes],