This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/40228] New: Provide option to show preprocessed line with errors


Hi,
 I think it would be useful to display the preprocessed line with errors (in
C/C++ in my case) for those occasions when the problem is related to a macro
going wrong.    I suggest this would be an option since most of the time you
wouldn't want it.

  Crawling through the output of gcc -E  and trying to find the line that
actually corresponds the error is quite hard work, and if the compiler already
has the line that it should help us by showing it (possibly with the line
before as well?)

Dave


-- 
           Summary: Provide option to show preprocessed line with errors
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dave at treblig dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40228


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]