This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Deprecate -ffriend-injection
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Nathan Sidwell <nathan at acm dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Feb 2018 19:57:49 +0100
- Subject: Re: [C++ PATCH] Deprecate -ffriend-injection
- Authentication-results: sourceware.org; auth=none
- References: <34da4f83-10e6-7644-d8d8-be55abf1cb85@acm.org> <CADzB+2mWCsNDbkuKwmAS=P2e8QAk=tdjqxfLQTeP94ywBOP0Bw@mail.gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Feb 16, 2018 at 01:54:15PM -0500, Jason Merrill wrote:
> My dejagnu doesn't like "cc1plus" as a line number:
>
> ERROR: g++.old-deja/g++.jason/scoping15.C -std=gnu++98: expected
> integer but got "cc1plus:" for " dg-warning 25 "ffriend-injection.* is
> deprecated" "" { target *-*-* } cc1plus: "
Usually 0 is used in that spot for lineno of UNKNOWN_LOCATION.
Jakub