]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
compiler: -Werror=incompatible-pointer-types
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 5 Feb 2019 19:49:59 +0000 (20:49 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 10 Apr 2019 16:45:55 +0000 (18:45 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
configure.ac

index 75d4158cce33124b03638e6e415bad21aa317430..438664c2523194785aea90d4cd090c341e53d71f 100644 (file)
@@ -700,6 +700,7 @@ AX_CHECK_COMPILE_FLAG([-Winit-self], [CFLAGS="$CFLAGS -Winit-self"],,[-Werror])
 AX_CHECK_COMPILE_FLAG([-Wfloat-equal], [CFLAGS="$CFLAGS -Wfloat-equal"],,[-Werror])
 AX_CHECK_COMPILE_FLAG([-Wsuggest-attribute=noreturn], [CFLAGS="$CFLAGS -Wsuggest-attribute=noreturn"],,[-Werror])
 AX_CHECK_COMPILE_FLAG([-Werror=return-type], [CFLAGS="$CFLAGS -Werror=return-type"],,[-Werror])
+AX_CHECK_COMPILE_FLAG([-Werror=incompatible-pointer-types], [CFLAGS="$CFLAGS -Werror=incompatible-pointer-types"],,[-Werror])
 
 AX_CHECK_LINK_FLAG([-z relro], [LDLAGS="$LDLAGS -z relro"],,[])
 AX_CHECK_LINK_FLAG([-z now], [LDLAGS="$LDLAGS -z now"],,[])