Definition shadows the input of the operators of the class TSubString

Hello

I’m linking a program against ROOT and GEANT4. The compiler gives a warning because a global definition of “Second” in GEANT4, which uses a “double s”, shadows the input of the operators of the class TSubString (with the same name, “s”)
http://root.cern.ch/root/html/TSubString.html

I’m not used to using TSubString, but… Should the definition in GEANT4 of “Second” be changed, or the shadowing will cause nothing (because it is inside a function of ROOT)?

Thank you for your time.

Greetings.

Hi,
Could you post the compiler warning you get?
Axel.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.