gcc segmentation fault compiling 20k file

Posted by aaa on Stack Overflow See other posts from Stack Overflow or by aaa
Published on 2010-04-23T02:51:31Z Indexed on 2010/04/23 2:53 UTC
Read the original article Hit count: 296

Filed under:
|
|
|
|

hi.

I have fairly large file, 20k lines long (auto generated). It has been compiling okay, but after adding new if/endif preprocessor block, I started getting gcc internal errors: segmentation fault.

the code inside new preprocessor block is not being compiled, so I am not sure where the error is coming from. my only guess is memory, but as far as I can tell it does not exhaust computer memory.

Any thoughts?

© Stack Overflow or respective owner

Related posts about gcc

Related posts about internal