compiler construction - C++: debug bus error -
i trying compile c++ program in linux, using command in shell
$ g++ -wall *.cpp -o prog
and reason keeps on giving me weird error:
g++: internal error: bus error (program cc1plus) please submit full bug report. see instructions.
i searched net bus error, , says has accessing illegal memory.
can maybe clarify things bit more me?
this error message telling there's bug in g++ compiler itself.
try narrow down removing bits , pieces of source file until problem goes away. you're not trying fix program, you're trying find part breaking compiler. once you've found it, can either give better bug description or can change code work around it.
or download latest version of g++ compiler , hope it's fixed.
Comments
Post a Comment