scons: Readd -Werror for the develop branch
This reverts commit 6e4c1c5db7.
This commit is contained in:
@@ -552,6 +552,11 @@ for variant_path in variant_paths:
|
||||
env.Append(CCFLAGS=['-pipe'])
|
||||
env.Append(CCFLAGS=['-fno-strict-aliasing'])
|
||||
|
||||
# Enable -Wall and -Wextra and then disable the few warnings that
|
||||
# we consistently violate
|
||||
env.Append(CCFLAGS=['-Wall', '-Wundef', '-Wextra',
|
||||
'-Wno-sign-compare', '-Wno-unused-parameter'])
|
||||
|
||||
# We always compile using C++17
|
||||
env.Append(CXXFLAGS=['-std=c++17'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user