in both the source code and the header file in my project source directory. But instead of the compiler calling autoGenContextual from my source code, it calls autoGenContext from the ROOT library. Is there any reason why this might be happening. It’s really confusing.
I don’t see what you are trying to do, I guess you left out a lot of information.
If you see that autoGenContext() is somehow running, that’s because somebody called it. If you rename a function of a class but you don’t change call instruction, it will always call the function.