Use -Werror when compiling C++ sources (including runtime)

This commit is contained in:
Svyatoslav Scherbina
2019-10-11 11:52:47 +03:00
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'