Remove outdated build flag -Weffc++

This commit is contained in:
Dennis Klein 2017-10-06 12:02:33 +02:00 committed by Mohammad Al-Turany
parent fb0996268a
commit b63e2ee153
3 changed files with 0 additions and 19 deletions

View File

@ -71,7 +71,6 @@ _Pragma("clang diagnostic ignored \"-Wnon-virtual-dtor\"")
#elif defined(__GNUC__) || defined(__GNUG__)
_Pragma("GCC diagnostic push")
_Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")
_Pragma("GCC diagnostic ignored \"-Weffc++\"")
#endif
// defining the boost MSM state machine

View File

@ -99,18 +99,9 @@ void DefaultAddFileSink(const std::string& filename, SeverityLevel level);
} // namespace mq
} // namespace fair
#if defined(__GNUC__) || defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#endif
// register a global logger (declaration)
BOOST_LOG_GLOBAL_LOGGER(global_logger, boost::log::sources::severity_logger_mt<fair::mq::logger::SeverityLevel>)
#if defined(__GNUC__) || defined(__GNUG__)
#pragma GCC diagnostic pop
#endif
// helper macros
// global macros (core). Level filters are set globally here, that is to all register sinks

View File

@ -86,11 +86,6 @@ inline std::string ConvertVariableValueToString<boost::filesystem::path>(const p
return valueStr;
}
#if defined(__GNUC__) || defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#endif
// policy to convert boost variable value into string
struct ToString
{
@ -235,10 +230,6 @@ struct ConvertVariableValue : T
}
};
#if defined(__GNUC__) || defined(__GNUG__)
#pragma GCC diagnostic pop
#endif
} // FairMQ namespace
#endif /* FAIRPROGOPTIONSHELPER_H */