Yeah, I know you'd probably be able to figure it out right away if I could give out my whole code

Trouble is its kind of long, and I'd rather not release it yet anyway.
However, I'm sure I have not used any virtual functions or inheritance anywhere yet.
Is it possible the compiler is in fact having trouble with another part of the code, but doesn't report it yet.