I am working with Eclipse (Indigo) IDE for C++ Developers. I am using make file to build the project. I am using keyword override
for virtual functions in derived class so that the compiler warns me if the function does not match the declaration in base class. However, Eclipse highlights the line with yellow indicating syntax error. I have followed the steps as specified here. Any more suggestions of how I get could eclipse to recognize the keyword override
Asked
Active
Viewed 814 times
2

Community
- 1
- 1

user592748
- 1,194
- 3
- 21
- 45
-
It almost certainly means that the C++11 support of the compiler-version that Eclipse is executing does not yet include the "override" keyword. What compiler and version is it? – Mike Kinghan Apr 02 '13 at 22:52
-
I am using make file and g++ with appropriate flags for compiling. But this error is not at the compile stage. It is the error in Eclipse editor. I thought there could be a way of Eclipse recognizing `override` keyword. – user592748 Apr 02 '13 at 23:01