[Bug c/40228] New: Provide option to show preprocessed line with errors
dave at treblig dot org
gcc-bugzilla@gcc.gnu.org
Sat May 23 13:14:00 GMT 2009
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
More information about the Gcc-bugs
mailing list