[Bug c++/61543] static_cast<void *>(static_cast<int>(enum_value)) doesn't get an error

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 24 19:22:00 GMT 2014


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

--- Comment #3 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
(In reply to Vaughn Cato from comment #2)
> I'm not sure it is related to bug 49171.

I agree and withdraw my previous comparison. I didn't notice that the result of
the conversion is not used within a context that would require a constant
expression.


More information about the Gcc-bugs mailing list