[PATCH] Fix typo in iso646 gconv module

Américo Wang xiyou.wangcong@gmail.com
Sun Sep 20 14:18:00 GMT 2009


On Sun, Sep 20, 2009 at 7:38 AM, Roland McGrath <roland@redhat.com> wrote:
> Looks obviously correct, go ahead and commit it.
>
>> Found by gcc's -Wenum-compare.
>
> Is this option new, or newly applicable to C?

Yes, please check this:
http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00003.html

> (The manual I have says "(C++ and Objective-C++ only)".)

Mine too, it is a little bit out of date.

> Is it on by default, or should we be passing it?

It is enabled when -Wall in C, in C++ enabled by default.

Thanks.



More information about the Libc-alpha mailing list