Compile error using Clang

Dear All:

I am getting the following error for the following simple test.cpp code:

#include <iostream>

using namespace std;

int main(void){

        return 1;

}

Dear All:

I am getting the following error for the following simple test.cpp code:

#include <iostream>

using namespace std;

int main(void){

       return 1;

}

Clang doesn't support the standard library (libstdc++) that comes with GCC < 4.2. We'll accept patches to make it work, but right now it doesn't work out-of-the-box. Do you have headers for a newer libstdc++ available?

  - Doug

Thanks Will it work if I install a newer version of GCC? What
part of the Makefile I have to change so that it can detect the new
version of GCC installed separately. I went through the Makefile and
could not figure it out. or is there any flag which I can use when I
run ./configure command?

Thanks