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

--- Comment #2 from Dima Pro <prokofjev.d at gmail dot com> ---
without -Werror=useless-cast no warning for this code at all.(In reply to
Jonathan Wakely from comment #1)
> N.B. This is a warning, not an error. Reporting that you get an error
> because you turned it into an error doesn't change that is a warning :-)

without -Werror=useless-cast no warning for this code at all.

Reply via email to