PATCH RFA: Avoid enum bitfield in C++ frontend
Dave Korn
dave.korn.cygwin@googlemail.com
Mon Apr 13 22:59:00 GMT 2009
Andrew Pinski wrote:
> On Mon, Apr 13, 2009 at 1:39 PM, Ian Lance Taylor <iant@google.com> wrote:
>> And now with the patch.
>
> How about adding a warning for this case with -Wc++-compat?
> It seems better to add a warning while also committing this patch.
OR'ing enums seems even wronger to me than adding arbitrary ints to them.
cheers,
DaveK
More information about the Gcc-patches
mailing list