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: C++: Don't warn about signed/unsigned comparisons with enums


> So, I propose specifically removing the "unsigned_i <= v2" warning.
> This can be done by identifying the specific cases where it occurs:
> namely, an unsigned enum promoted to int. ?That is what this patch does.

Actually, please ignore this patch.  There has to be a better way.

Ian


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