This post is in addition to my other one about a bug.
I am getting an error that is supposedly on line 30 of ui.h. However I only have 18 lines in that file. The error is actually on ui.cpp line 13. Adding the number of lines from ui.h -1 to the ui.cpp i find the error place.
Does anyone know why its doing that? shouldnt it say ui.cpp line 13?
let me know if u need more information because Ive never seen this happen and dont even know where to start to fix it
If you have a line like this #include "ui.cpp" on the very end of you ui.h, the compile basicly inserts the contents of ui.cpp in ui.h.
EDIT: Look below!
OOOOOOOOOOh!!!!!!!!! I get it now! I've seen your other post and now I get it!!!!!!!!!
Becouse all in your ui.cpp are definitions for the functions in ui.h, those lines add up to your ui.h!!
This doesn't sound right? Are you sure you are compiling the correct file? I'm asking because it has happened that people think they compile one file but in the end it turns out they compiled some other file, often in a different directory.