Actually, I've thought about this problem some more (I had the same thing happen to me when I was trying to make a SDL2 event global variable). I think it happens because the variable is in global scope, yet is initialized during run time. Thus, the compiler can't guarantee it is initialized before it is accessed, hence the warning?
That is the only explanation I can think of, but I'm pretty far away from being an expert, so there's that .
