From: Mikko Rasa Date: Wed, 18 Jul 2012 20:34:56 +0000 (+0300) Subject: -Winline generates way more spam than expected X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=824c28d552668240b98a353acdcc284a477d8b19;p=builder.git -Winline generates way more spam than expected --- diff --git a/source/gnucompiler.cpp b/source/gnucompiler.cpp index 0bd1b33..3f51219 100644 --- a/source/gnucompiler.cpp +++ b/source/gnucompiler.cpp @@ -74,7 +74,6 @@ Task *GnuCompiler::run(const Target &target) const argv.push_back("-pedantic"); argv.push_back("-Wno-long-long"); argv.push_back("-Wshadow"); - argv.push_back("-Winline"); if(tag=="CC") { argv.push_back("-Wc++-compat"); @@ -88,6 +87,7 @@ Task *GnuCompiler::run(const Target &target) const argv.push_back("-Wfloat-equal"); argv.push_back("-Wconversion"); argv.push_back("-Wwrite-strings"); + argv.push_back("-Winline"); } if(binfo.fatal_warnings) argv.push_back("-Werror");