Ok, this is weird...
My compiler is producing a "multiple definition" error for every single function definition inside a header file that I wrote. Each function definition is a member function of a class which is defined in the same file. I put the function definitions after the class definition.
My header has include guards (i.e. #ifndef, #define, and #endif) wrapped around the whole code, and needless to say, I don't have any duplicated function definitions.
Anyone have any idea why its doing this??
Thanks in advance.
EDIT: Another interesting thing to note is, when I click on one of the multiple definition errors, it brings up the 'new' file, with the cursor on the line which says:
What does this have to do with the "new" operator?Code:inline void* operator new(std::size_t, void* __p) throw() { return __p; }