mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
no-unknown-warning should prevent older compilers from barfing
This commit is contained in:
parent
d8f6127bf8
commit
b391a709bc
|
@ -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()])
|
||||
|
|
Loading…
Reference in New Issue
Block a user