The accidental use of declaration after statement breaks compilation with C89 compilers such as MSVC. Assuming that MSVC is one of the supported compilers, it makes sense to ask GCC to at least report warnings for such problematic code. --- configure.ac | 1 + 1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac index 2dd4776..b8f6ab0 100644 --- a/configure.ac +++ b/configure.ac @@ -183,6 +183,7 @@ AC_SUBST(LT_VERSION_INFO) # Check for dependencies PIXMAN_CHECK_CFLAG([-Wall]) +PIXMAN_CHECK_CFLAG([-Wdeclaration-after-statement]) PIXMAN_CHECK_CFLAG([-fno-strict-aliasing]) dnl ========================================================================= -- 1.8.1.5 _______________________________________________ Pixman mailing list Pixman@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pixman