[gtk/wip/nirbheek/gtk-3-24-meson: 4/8] meson: Disable discarded-qualifiers warning



commit 0febfff5c877536f4e956c2307e20b28d0d1a31e
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Sat Dec 1 03:03:25 2018 +0530

    meson: Disable discarded-qualifiers warning
    
    This branch is not going to receive the reworks required fix warnings
    about discarding of const qualifiers, so disable that warning instead.

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 9a9537589d..2bf1532a06 100644
--- a/meson.build
+++ b/meson.build
@@ -241,6 +241,7 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
     '-Wmissing-include-dirs',
     '-Wlogical-op',
     '-Wignored-qualifiers',
+    '-Wno-discarded-qualifiers',
     '-Werror=implicit',
     '-Werror=nonnull',
     '-Werror=init-self',


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