Quote:Original post by JingoQuote:Original post by Ravyne
You shouldn't be declaring anything in a header file. Declare it in the corresponding C or CPP file and extern it in the header.
You have your terms mixed up there. You shouln't DEFINE the object in the header file, adding extern often turns it into a declaration.
Right. My bad.