[java-atk-wrapper] Do not error out for mixed declarations and code



commit 456b990dca012e581086c2dd1b384bd2d0529a41
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Sat Jun 1 19:54:20 2019 +0200

    Do not error out for mixed declarations and code

 configure.ac | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/configure.ac b/configure.ac
index b09c841..616bc1b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,6 +128,7 @@ case "$WARN_CFLAGS" in
     *-Werror*)
         WARN_CFLAGS="$WARN_CFLAGS -Wno-error=deprecated-declarations"
         WARN_CFLAGS="$WARN_CFLAGS -Wno-error=strict-prototypes"
+        WARN_CFLAGS="$WARN_CFLAGS -Wno-error=declaration-after-statement"
         ;;
 esac
 AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]