[perl #53356] [CAGE] Disable build warnings on generated C files

Will Coleda via RT parrotbug-followup at parrotcode.org
Wed Nov 26 20:18:10 UTC 2008


On Sat Apr 26 11:40:20 2008, chromatic at wgz.org wrote:
> On Friday 25 April 2008 10:50:24 Will Coleda wrote:
> > compilers/imcc/imclexer.c:4288: warning: switch missing default case
> > compilers/imcc/imclexer.c:4447: warning: comparison between signed
> and
> > unsigned compilers/imcc/imclexer.c:4615: warning: switch missing
> default
> > case
> 
> These are all in generated code.  I suspect we're not going to clear
> these up
> without patching lex/flex or writing a filter for post-generation.
> You can
> quote me on this: yuck.
> 
> -- c
> 

tewk++ for pointing out that we already have the ability to tweak our c-
flags settings on a per-file basis. I wasn't seeing the signed/unsigned 
warning anymore, and I've disabled -Wswitch-default on this file.

Closing ticket.

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list