[gtk/wip/nirbheek/gtk-3-24-meson: 416/420] meson: Disable discarded-qualifiers warning



commit 3edab24026e8c97a552e97c6df9f10fd61166a45
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]