------- Comment #6 from dnovillo at google dot com 2008-02-05 16:15 ------- Subject: Re: -Wtype-limits misses a warning when comparing enums
On 5 Feb 2008 11:21:26 -0000, manu at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > You should use OPT_Wtype_limits instead of OPT_Wextra. Ah, yes, thanks. > Also, the code could simply do: Well, I explicitly wanted to separate the decision making from the warning machinery. > And BTW, what is G_ for? That's the i18n marker. I c-n-p it from other messages in the same file. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33738