i just setup fc4 on my laptop and encountered a weird error while compiling a simple c++ file i get this error
zan /tmp/ccCQf955.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
zan collect2: ld returned 1 exit status
now that comes from both using gcc /path/to/file/test.cpp and gcc /path/to/file/test.cpp -o test
i change the file to a .c file and compiles fine no errors i compile the same cpp file with g++ and it is fine the code is below. is there somthing i need todo with some settings to get gcc to compile a c++ file or is this a bug?
my ver of gcc is
gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
and again this is a simple app, but i did it just to see if i would encounter a problem and not 10,000 lines later