Linux中的C ++分段错误

时间:2013-10-29 22:26:36

标签: c++ linux debugging

这是我遇到的分段错误错误。我甚至不知道任何命令让它消失或知道问题是什么。

但是当我使用-g标志进行编译时,它编译得很好,但我想在不使用任何标志的情况下进行编译。

这是我得到的错误

cc1plus: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc0bBW1Q.out file, please attach this to your bugreport.
cc1plus: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccecNlWl.out file, please attach this to your bugreport.

0 个答案:

没有答案