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 <pinskia@gmail.com> writes:

> 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.

As I think I said in the message, I already have a patch which warns for
this case.  I have not yet sent in at patch, for two reasons: 1) my
patch relies on the -Wenum-compare patch I sent on March 31 which is
awaiting review; 2) the new warning triggers on a lot of code in gcc,
and fixing them all in a single patch would be difficult to manage.

My intention at present is to only propose C++ compatibility changes
which -Wc++-compat will warn about, but in order to manage this I will
have a series of patches which will go in before I add the new warning.
I will be clear in future patch proposals if I am proposing any change
which -Wc++-compat does not warn about.

Ian


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