[lasem] build: don't include bad-function-cast in more_warnings



commit c1e7caca9b8d58b5dcbc68b47d4c8088990911c6
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Jan 18 19:17:42 2015 +0100

    build: don't include bad-function-cast in more_warnings
    
    It triggers a warning on each G_DEFINE_* use.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6264ca3..deb3662 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,6 @@ if test "$GCC" = yes -a "x$set_more_warnings" != xno; then
                         -Wmissing-declarations \
                         -Wcast-align \
                         -Winline \
-                        -Wbad-function-cast \
                         -Waddress-space \
                         -Wbitwise \
                         -Wcast-to-as \
@@ -85,6 +84,7 @@ if test "$GCC" = yes -a "x$set_more_warnings" != xno; then
        # trigger too often at the time of writing
        not_now_please="\
                         -Wpointer-arith \
+                        -Wbad-function-cast \
                         -Wswitch-enum \
                         -Wfloat-equal \
                         -Wdeclaration-after-statement \


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