Skip to content
Snippets Groups Projects
Commit dc321902 authored by Charles Leggett's avatar Charles Leggett
Browse files

ignore unchecked StatusCodes coming from libCore.so

Fixes GAUDI-1236

See merge request !188
parents f3050c3a 76591d44
No related branches found
No related tags found
1 merge request!188ignore unchecked StatusCodes coming from libCore.so
Pipeline #
...@@ -101,9 +101,13 @@ StatusCodeSvc::regFnc(const std::string& fnc, const std::string& lib) { ...@@ -101,9 +101,13 @@ StatusCodeSvc::regFnc(const std::string& fnc, const std::string& lib) {
return; return;
} }
// A StatusCode instance may be create internally by ROOT dictionaries and,
// of course, it's not checked, so here we whitelist a few library names
// that are known to produce spurious reports.
if (m_dict && if (m_dict &&
(lib.compare(lib.length()-7, 7, "Dict.so") == 0 || (lib.compare(lib.length()-7, 7, "Dict.so") == 0 ||
lib.compare(lib.length()-8, 8, "Cling.so") == 0)) { lib.compare(lib.length()-8, 8, "Cling.so") == 0 ||
lib.compare(lib.length()-7, 7, "Core.so") == 0)) {
return; return;
} }
// this appears only with gcc 4.9... // this appears only with gcc 4.9...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment