This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch / RFC] PR 51242
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 15 Feb 2013 12:40:10 -0500
- Subject: Re: [C++ Patch / RFC] PR 51242
- References: <50B38DEC.8090004@oracle.com>
The patch is OK. To deal with the warning, I would suggest putting the
constrained type somewhere other than ENUM_UNDERLYING_TYPE that's shared
between enums with fixed and non-fixed underlying types; having it in
ENUM_UNDERLYING_TYPE isn't really correct anyway.
Jason