I\'m developing a game in Eclipse CDT in C++/OpenGL, and it compiles and runs just fine, but for some reason an enum I\'m declaring (SCREEN_MAIN_MENU) gets underlined in red
This may be caused by a bug in Eclipse CDT:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=356057
Try to rebuild the index (Right click on the project -> Index -> Rebuild)