PATCH RFA: C++: Don't warn about signed/unsigned comparisons with enums

Ian Lance Taylor iant@google.com
Wed Jun 17 19:21:00 GMT 2009


> 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



More information about the Gcc-patches mailing list