------- Comment #7 from manu at gcc dot gnu dot org  2007-03-14 22:17 -------
(In reply to comment #6)
> Subject: Re:  warning for comparison of different enum types impossible to
> control/is undocumented
> 
> "manu at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes:
> 
> | I could also add it to the new -Wconversion option.
> 
> I believe this is the way to go.
> 

What are we actually warning about? The promotion of enum to a type different
from the underlying type? And how does this differs from signed/unsigned
conversion? I mean, the enum cannot be promoted to a smaller type, so the only
issue possible is a change of signedness?

Please, correct me where I am wrong.
> 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27975

Reply via email to