From 02cca8e9be19217d3b6b15b6fa75ade51a52d0ff Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Sep 2020 14:28:40 +0200 Subject: Suppress warnings in release builds --- wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index ca363bd..10b5e26 100644 --- a/wscript +++ b/wscript @@ -59,6 +59,8 @@ def configure(conf): autowaf.add_compiler_flags(conf.env, '*', { 'gcc': [ '-Wno-padded', + '-Wno-suggest-attribute=const', + '-Wno-suggest-attribute=pure', ], 'clang': [ '-Wno-atomic-implicit-seq-cst', -- cgit v1.2.1