Is there any way to make gcc print offending lines when it emits an error?

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-06-04T18:29:05Z Indexed on 2010/06/06 5:12 UTC
Read the original article Hit count: 260

Filed under:
|
|

I have a large codebase that I've been tasked with porting to 64 bits. The code compiles, but it prints a very large amount of incompatible pointer warnings (as is to be expected.) Is there any way I can have gcc print the line on which the error occurs? At this point I'm just using gcc's error messages to try to track down assumptions that need to be modified, and having to look up every one is not fun.

© Stack Overflow or respective owner

Related posts about gcc

Related posts about 64bit