This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55252] Caret diagnostic doesn't show useful location when macro clashes with name in system header
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Nov 2012 16:50:34 +0000
- Subject: [Bug c++/55252] Caret diagnostic doesn't show useful location when macro clashes with name in system header
- Auto-submitted: auto-generated
- References: <bug-55252-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55252
--- Comment #8 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-11-19 16:50:34 UTC ---
(In reply to comment #7)
> Would that make sense in the grand scheme of things?
The idea seems good. It would also handle comment #4 testcase. However, I am
not sure how you would implement this.
A different issue is why the macro unwinder cares about system-headers? See
comment #3.