This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH RFA: Avoid enum bitfield in C++ frontend


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]