_ROOT Version:6.26
_Platform: CENTOS7 (lxplus)
Compiler: Not Provided
Dear ROOT experts,
I have a compatibility issue. A log library I use in my laboratory software uses the following line:
R__LOCKGUARD2(gErrorMutex);
Which does not compile anymore with ROOT 6.26 with following error:
EdbLog.cxx:91:17: error: ‘gErrorMutex’ was not declared in this scope
I was able to understand the reason, by backtracking to ROOT 6.24 and calling gErrorMutex:
ROOT_prompt_0:1:1: warning: 'gErrorMutex' is deprecated: will be removed in ROOT v6.26: ROOT stopped exporting gErrorMutex. [-Wdeprecated-declarations]
This variable is not exported anymore, so how should I replace this line of code to make it work correctly in ROOT v6.26?
I think I should then define a similar TVirtualMutex* pointer myself and replace this call to it, but how was gErrorMutex built?
Best regards,
Antonio Iuliano