From 96bf2f0db84761db40b44645df25643262735cde Mon Sep 17 00:00:00 2001 From: Alexander Afanasyev Date: Tue, 11 Oct 2016 16:37:45 -0700 Subject: [PATCH] build: Do not fail the build in debug mode when using deprecated declarations The original motivation of this change was to avoid compilation failure in debug mode on macOS 10.12. Change-Id: Ibc006a6be6f5d9aba80dfe4b5f9b13a758bafcc7 Refs: #3795 --- .waf-tools/default-compiler-flags.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py index 767cb16..562d192 100644 --- a/.waf-tools/default-compiler-flags.py +++ b/.waf-tools/default-compiler-flags.py @@ -108,6 +108,7 @@ class GccBasicFlags(CompilerFlags): '-Werror', '-Wno-unused-parameter', '-Wno-error=maybe-uninitialized', # Bug #1615 + '-Wno-error=deprecated-declarations', # Bug #3795 ] return flags