From b391a709bcc8d4c4bb7f97b452c479b57a1042dc Mon Sep 17 00:00:00 2001 From: ThePhD Date: Wed, 7 Jun 2017 13:02:51 -0400 Subject: [PATCH] no-unknown-warning should prevent older compilers from barfing --- bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.py b/bootstrap.py index 106e6a15..6b18d08c 100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -56,7 +56,7 @@ args = parser.parse_args() # general variables include = [ '.', './include' ] depends = [os.path.join('Catch', 'include')] -cxxflags = [ '-Wall', '-Wextra', '-Wpedantic', '-pedantic', '-pedantic-errors', '-Wno-noexcept-type', '-std=c++14', '-ftemplate-depth=1024' ] +cxxflags = [ '-Wno-unknown-warning', '-Wall', '-Wextra', '-Wpedantic', '-pedantic', '-pedantic-errors', '-Wno-noexcept-type', '-std=c++14', '-ftemplate-depth=1024' ] cxxflags.extend([p for p in re.split("( |\\\".*?\\\"|'.*?')", args.cxx_flags) if p.strip()]) example_cxxflags = [ '-Wall', '-Wextra', '-Wpedantic', '-pedantic', '-pedantic-errors', '-Wno-noexcept-type', '-std=c++14', '-ftemplate-depth=1024' ] example_cxxflags.extend([p for p in re.split("( |\\\".*?\\\"|'.*?')", args.cxx_flags) if p.strip()])