On 02/03/2016 10:07 PM, Patrick Palka wrote:
It just occurred to me that issuing this warning during template instantiation may be undesirable if the dynamic_cast being built was originally dependent (for the same reasons it is undesirable to issue -Wuseless-cast warnings during instantiation, which we already avoid doing). Especially so since this particular warning is not associated with any warning flag. I'll try to come up with a more careful patch for stage 1.
Good point, thanks. Jason