I am quite troubled as this shouldn\'t be causing me such a headache. I\'ve downloaded the most recent Eclipse Indigo and all CDT C++ plugins for MAC OS X 10.7.1/<
I am using Eclipse Oxygen and the following fixed my problem:
Right-click on your project and go to properties. Navigate to C/C++ Build > Tool Chain Editor and select MacOSX GCC in the Current toolchain, and Apply and Close.