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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't see any benefit to this warning. What harm does the example code do?
Has anybody ever been confused about the semantics, and expected the
cv-qualifiers to have an effect?

If this language feature doesn't lead to confusion or mistaken code, why should
there be a warning?

Reply via email to