From 824c28d552668240b98a353acdcc284a477d8b19 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 18 Jul 2012 23:34:56 +0300 Subject: [PATCH] -Winline generates way more spam than expected --- source/gnucompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.45.2