Right, I was thinking that Gemini was deriving as much information from the comments as from the code. And I could definitely see where the danger warnings would come from in a mature C++ codebase, especially one in which lots of different hands have been in the pot.