]> git.tdb.fi Git - builder.git/commitdiff
-Winline generates way more spam than expected
authorMikko Rasa <tdb@tdb.fi>
Wed, 18 Jul 2012 20:34:56 +0000 (23:34 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 18 Jul 2012 20:34:56 +0000 (23:34 +0300)
source/gnucompiler.cpp

index 0bd1b33274028384fbfb6fd5127ead017493f67f..3f5121997dbe2d8322b9561ea9cbcaca668663d1 100644 (file)
@@ -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");