https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958

--- Comment #3 from Jonny Grant <jg at jguk dot org> ---
(In reply to Jonathan Wakely from comment #2)
> (In reply to Jonny Grant from comment #1)
> > My idea of what would be clearest is :-
> > 
> > Cannot pass ‘const int‘ as ‘int&‘ (non const)
> 
> I don't think that's an improvement at all.
> 
> But "... discards const qualifier" or "... discards volatile qualifier" or
> "...discards const and volatile qualifiers" might be OK. Or saying "as
> reference of non-const type 'int&'" similar to my proposed fix for PR 53281.

Sounds good. I support this improvement!

Reply via email to