This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40228] New: Provide option to show preprocessed line with errors
- From: "dave at treblig dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2009 13:14:25 -0000
- Subject: [Bug c/40228] New: Provide option to show preprocessed line with errors
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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