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
|
workingDir objDir
|
||||||
executable "clang++"
|
executable "clang++"
|
||||||
args '-std=c++14'
|
args '-std=c++14'
|
||||||
|
args '-Werror'
|
||||||
args '-O2'
|
args '-O2'
|
||||||
if (!targetingMinGW) {
|
if (!targetingMinGW) {
|
||||||
args '-fPIC'
|
args '-fPIC'
|
||||||
|
|||||||
Reference in New Issue
Block a user