I'm using VC++8 to compile a program originally written for Linux. It builds fine but the original programmer occasionally uses variables called where - for example:-
Code:
int64_t where;
My IDE is displaying the name where in blue (which is the colour it normally reserves for data types and keywords, such as int, bool, struct, true, false etc). event is another word that gets displayed in blue. Do these words mean something special in VC++?
"A problem well stated is a problem half solved.” - Charles F. Kettering
Yes, when I first started building the project I was also using VC++6 but I don't remember it happening then. I've only noticed it since moving to VC++8.
"A problem well stated is a problem half solved.” - Charles F. Kettering
To print blue keywords, VC++ IDE uses quite primitive way: there is some list of keywords, and every word from this list is shown with blue color. BTW, this list is extendable. It is possible to add new values to it (for example, many MFC programmers like to have CString coloured) - see details here: http://msdn.microsoft.com/en-us/libr...fined_keywords. However, I don't know how to remove a value from default list.
Anyway, this is not related to compiler. Blue word in the editor doesn't mean that compiler treats it as keyword.
Bookmarks