Reputation: 107
It has come to my understanding that the error
[Linker error] undefined reference to `__gxx_personality_v0'
is caused by trying to compile a C++ program with the gcc compiler. This would be solved by compiling the program with a g++ compiler, but how does one get Dev-C++ to use the g++ compiler???
Upvotes: 0
Views: 4220
Reputation: 12126
That error may also be caused by the absence of libstdc++, make sure that you're linking to that library via '-lstdc++', this should be the last linking command.
Upvotes: 0
Reputation: 1914
Upvotes: 2