mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Remove outdated build flag -Weffc++
This commit is contained in:
parent
fb0996268a
commit
b63e2ee153
|
@ -71,7 +71,6 @@ _Pragma("clang diagnostic ignored \"-Wnon-virtual-dtor\"")
|
||||||
#elif defined(__GNUC__) || defined(__GNUG__)
|
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||||
_Pragma("GCC diagnostic push")
|
_Pragma("GCC diagnostic push")
|
||||||
_Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")
|
_Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")
|
||||||
_Pragma("GCC diagnostic ignored \"-Weffc++\"")
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// defining the boost MSM state machine
|
// defining the boost MSM state machine
|
||||||
|
|
|
@ -99,18 +99,9 @@ void DefaultAddFileSink(const std::string& filename, SeverityLevel level);
|
||||||
} // namespace mq
|
} // namespace mq
|
||||||
} // namespace fair
|
} // namespace fair
|
||||||
|
|
||||||
#if defined(__GNUC__) || defined(__GNUG__)
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Weffc++"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// register a global logger (declaration)
|
// register a global logger (declaration)
|
||||||
BOOST_LOG_GLOBAL_LOGGER(global_logger, boost::log::sources::severity_logger_mt<fair::mq::logger::SeverityLevel>)
|
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
|
// helper macros
|
||||||
|
|
||||||
// global macros (core). Level filters are set globally here, that is to all register sinks
|
// global macros (core). Level filters are set globally here, that is to all register sinks
|
||||||
|
|
|
@ -86,11 +86,6 @@ inline std::string ConvertVariableValueToString<boost::filesystem::path>(const p
|
||||||
return valueStr;
|
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
|
// policy to convert boost variable value into string
|
||||||
struct ToString
|
struct ToString
|
||||||
{
|
{
|
||||||
|
@ -235,10 +230,6 @@ struct ConvertVariableValue : T
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__GNUC__) || defined(__GNUG__)
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
#endif
|
|
||||||
|
|
||||||
} // FairMQ namespace
|
} // FairMQ namespace
|
||||||
|
|
||||||
#endif /* FAIRPROGOPTIONSHELPER_H */
|
#endif /* FAIRPROGOPTIONSHELPER_H */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user