Errors in pairs
Paolo Carlini
paolo.carlini@oracle.com
Sat Mar 24 21:35:00 GMT 2018
Hi,
On 24/03/2018 21:06, Volker Reichelt wrote:
> Hi everybody,
>
> while bug-hunting I noticed that we emit lots of erros in pairs in
> check_final_overrider (cp/search.c), e.g.:
>
> Â error ("invalid covariant return type for %q+#D", overrider);
> Â error ("Â overriding %q+#D", basefn);
>
> I would expect the second line to be emitted as a note (using inform).
> Is there a reason for this or should that be changed?
IMHO that should be changed. As you may or may not have noticed,
personally I took care of many of such issues, but obviously not of this
one (I'm not surprised, I remember thinking a few times "I should come
back to this one too..."). I encourage you to send patches!
Paolo.
More information about the Gcc
mailing list