liballeg/allegro_wiki

Graphics- invalid use of 'this' out of non-static member function

UgurcanAkkok opened this issue · 2 comments

Since this is a keyword and it should be used in non-static member function, when i compile the program it throws me lots of error, i can fix that with changing this to anything that is not a keyword in c++, but i think wiki should warn or change somethings.

We're using C rather than C++ in Vivace, where this isn't a keyword. Might not be a bad idea to change it in order to prevent that ambiguity, though.