https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13005
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #39 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -Wold-style-cast will warn about this and I think that might be best thing. Since depending on where you the definition of Base::Base and the old style cast, you will get a fix it note to use either static_cast or reinterpret_cast . In the place where reinterpret_cast is done, it is incorrect.