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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=53281

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(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.

Reply via email to