https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90201
--- Comment #4 from Dima Pro ---
(In reply to Jonathan Wakely from comment #3)
> You get a warning with -Wuseless-cast
Yes, sorry. Miss this.
Anyway, no useless cast warning should be for this code.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90201
--- Comment #3 from Jonathan Wakely ---
You get a warning with -Wuseless-cast
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90201
--- Comment #2 from Dima Pro ---
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 er
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90201
Jonathan Wakely changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIR