diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp index 957837ec37e6b35461e9b7d5c2558f2e991e36c9..48a05ed27118137556d45a534003901cc97ba7fa 100644 --- a/src/plugins/projectexplorer/gcctoolchain.cpp +++ b/src/plugins/projectexplorer/gcctoolchain.cpp @@ -734,12 +734,6 @@ QString GccToolChain::detectVersion() const return gccVersion(m_compilerCommand, env.toStringList()); } -QStringList GccToolChain::reinterpretOptions(const QStringList &arg) const -{ - // Nothing todo - return arg; -} - // -------------------------------------------------------------------------- // GccToolChainFactory // -------------------------------------------------------------------------- diff --git a/src/plugins/projectexplorer/gcctoolchain.h b/src/plugins/projectexplorer/gcctoolchain.h index a4f79dd01b43335f3c510af0ddda5a55ad45fcc7..2bcf3f00020ce8e5824f1a2faa0acb7b074221d7 100644 --- a/src/plugins/projectexplorer/gcctoolchain.h +++ b/src/plugins/projectexplorer/gcctoolchain.h @@ -111,7 +111,7 @@ protected: // Reinterpret options for compiler drivers inheriting from GccToolChain (e.g qcc) to apply -Wp option // that passes the initial options directly down to the gcc compiler - virtual QStringList reinterpretOptions(const QStringList &argument) const; + virtual QStringList reinterpretOptions(const QStringList &argument) const { return argument; } static QList<HeaderPath> gccHeaderPaths(const Utils::FileName &gcc, const QStringList &args, const QStringList &env); static const int PREDEFINED_MACROS_CACHE_SIZE;