This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Better location info for "incomplete type" error msg (PR c/70756)
- From: Jason Merrill <jason at redhat dot com>
- To: Marek Polacek <polacek at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Apr 2016 16:04:13 -0400
- Subject: Re: [PATCH] Better location info for "incomplete type" error msg (PR c/70756)
- Authentication-results: sourceware.org; auth=none
- References: <20160428155908 dot GQ28445 at redhat dot com>
On 04/28/2016 11:59 AM, Marek Polacek wrote:
3) for the C++ FE I used a macro so that I don't have to change all the
cxx_incomplete_type_error calls now,
How about an inline overload, instead?
It seems sad to discard the location information; could we pass it into
cxx_incomplete_type_diagnostic?
Jason