Re: [PATCH] gcc/diagnostic.c: make -Werror message more helpful

2021-12-15 Thread Richard Sandiford via Gcc-patches
Martin Sebor via Gcc-patches writes: > On 12/12/21 3:13 AM, Andrea Monaco via Gcc-patches wrote: >> >> Hello. >> >> >> I propose to make that message more verbose. It sure would have helped >> me once. You don't always have a Web search available :) > > Warnings turned into errors have the [-

Re: [PATCH] gcc/diagnostic.c: make -Werror message more helpful

2021-12-14 Thread Eric Gallager via Gcc-patches
On Tue, Dec 14, 2021 at 1:33 PM Eric Gallager wrote: > > On Mon, Dec 13, 2021 at 1:17 PM Martin Sebor via Gcc-patches > wrote: > > > > On 12/12/21 3:13 AM, Andrea Monaco via Gcc-patches wrote: > > > > > > Hello. > > > > > > > > > I propose to make that message more verbose. It sure would have he

Re: [PATCH] gcc/diagnostic.c: make -Werror message more helpful

2021-12-14 Thread Eric Gallager via Gcc-patches
On Mon, Dec 13, 2021 at 1:17 PM Martin Sebor via Gcc-patches wrote: > > On 12/12/21 3:13 AM, Andrea Monaco via Gcc-patches wrote: > > > > Hello. > > > > > > I propose to make that message more verbose. It sure would have helped > > me once. You don't always have a Web search available :) > > War

Re: [PATCH] gcc/diagnostic.c: make -Werror message more helpful

2021-12-13 Thread Martin Sebor via Gcc-patches
On 12/12/21 3:13 AM, Andrea Monaco via Gcc-patches wrote: Hello. I propose to make that message more verbose. It sure would have helped me once. You don't always have a Web search available :) Warnings turned into errors have the [-Werror=...] tag at the end so I'm not sure I see when reit

[PATCH] gcc/diagnostic.c: make -Werror message more helpful

2021-12-12 Thread Andrea Monaco via Gcc-patches
Hello. I propose to make that message more verbose. It sure would have helped me once. You don't always have a Web search available :) Andrea Monaco diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 4ded1760705..8b67662390e 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -15