Use -Werror when compiling C++ sources (including runtime)
This commit is contained in:
committed by
SvyatoslavScherbina
parent
0c284c7654
commit
3f868cc55d
@@ -119,6 +119,7 @@ class CompileCppToBitcode extends DefaultTask {
|
||||
workingDir objDir
|
||||
executable "clang++"
|
||||
args '-std=c++14'
|
||||
args '-Werror'
|
||||
args '-O2'
|
||||
if (!targetingMinGW) {
|
||||
args '-fPIC'
|
||||
|
||||
Reference in New Issue
Block a user