Errors in pairs

Volker Reichelt v.reichelt@netcologne.de
Sat Mar 24 20:07:00 GMT 2018


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?

Regards,
Volker



More information about the Gcc mailing list