[Bug c++/52130] missing check for matching underlying type during instantiation of enum member of class template
richard-gccbugzilla at metafoo dot co.uk
gcc-bugzilla@gcc.gnu.org
Fri Aug 18 19:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52130
--- Comment #3 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> ---
The diagnostic in #1 is not only wrong for this case, it's also a rejects-valid
in the case where the underlying types match. I've filed
https://gcc.gnu.org/PR81895 for that.
More information about the Gcc-bugs
mailing list