This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Fix typo in iso646 gconv module


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.


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