This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: new warnings building cp-demangle.c


On Mon, 2009-05-18 at 17:40 -0700, H.J. Lu wrote:

> We have
> 
> enum gnu_v3_ctor_kinds {
>   gnu_v3_complete_object_ctor = 1,
>   gnu_v3_base_object_ctor,
>   gnu_v3_complete_object_allocating_ctor
> };
> 
> What does
> 
> (kind < gnu_v3_complete_object_ctor
>          && kind > gnu_v3_complete_object_allocating_ctor)
> 
> try to check? It looks like a typo to me.

Right--that was my point.

Ben


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