X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnucompiler.cpp;h=884776ab21927540885c03db4b135601889ca0a3;hb=69cd5cc73f466181420711fb907979de58687a4c;hp=2f6393ec1d718e97134d3a4a53bc002b0a9c3fc1;hpb=276a7c7c046a8f1b692cecbd53f17595ed23264d;p=builder.git diff --git a/source/gnucompiler.cpp b/source/gnucompiler.cpp index 2f6393e..884776a 100644 --- a/source/gnucompiler.cpp +++ b/source/gnucompiler.cpp @@ -135,7 +135,10 @@ Task *GnuCompiler::run(const Target &target) const argv.push_back("-Winline"); } if(binfo.fatal_warnings) + { argv.push_back("-Werror"); + argv.push_back("-Wno-error=deprecated-declarations"); + } } const FS::Path &sysroot = binfo.sysroot;