[Bug c++/61543] static_cast<void *>(static_cast<int>(enum_value)) doesn't get an error
vcato1701 at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 24 19:20:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61543
--- Comment #2 from Vaughn Cato <vcato1701 at yahoo dot com> ---
I'm not sure it is related to bug 49171. It seems to be something about enum
values specifically. For example, if you change the enum_value to an integer
constant, like 5, then you get an error.
More information about the Gcc-bugs
mailing list