GCC 4.5.2 Linker gots Problem while using Exceptions (C++)

后端 未结 2 968
面向向阳花
面向向阳花 2020-12-21 18:30

I try to write a webserver. As far as I am, it works quiet good with Windows. But I want to make it also Unix compatible. And I think there has to be a problem with the here

2条回答
  •  失恋的感觉
    2020-12-21 19:25

    Judging from undefined reference to __gxx_personality_v0 linker message it looks like you are linking with gcc. You need to link C++ applications with g++. Or link with gcc and add -lstdc++ to the linker command line.

提交回复
热议问题