[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: Built with warnings
From:       Anders Magnusson <ragge () ludd ! ltu ! se>
Date:       2010-04-19 14:27:26
Message-ID: 4BCC684E.4090001 () ludd ! ltu ! se
[Download RAW message or body]

Peter Kuschnerus wrote:
> Hi,
>
> at a new built at unix recently installed,
> I did get some warnings:
>
> scan.l: 374 warning:  value exeeds maxvalue of type
>    I propose to add a cast.
>    replace   case 'U'|0x80 :
>    by        case (char)('U'|0x80) :
>   
Thanks, cast added.

> cgram.y: 591 - 597 warning:  unused $4
> cgram.y: 676 - 677 warning:  unused $3
>    I do not know whether this is an issue.
>   
It's not.  I would consider that a bison bug.  It's an use of the $0 
functionality
in yacc.

-- Ragge

> The built was done with gcc 4.2.4, flex 2.5.34, bison 2.3
>
>
> Regards
> Peter Kuschnerus
>
>
>
>
>   

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic