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



commit a2aa23ba9052449d5f7737ee0eddf781e95b8367
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 188c177..e8207e6 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]