Bug#379763: FTBFS: comparison between signed and unsigned

2006-07-30 Thread Matej Vela
retitle 379763 flex: warning in generated code
reassign 379763 flex 2.5.33-4
thanks

Martin Michlmayr <[EMAIL PROTECTED]> writes:

> Some builds fail with the following error.  This can be reproduced on
> any arch, but for some reason it seems that scanner.c is not always
> generated from scanner.l.  When you regenerate it manually, you
> definitely see the error though.

The Debian diff includes a scanner.c generated by a non-buggy version
of flex, but sometimes it is regenerated due to timestamp skew.

> I don't know if this is a bug in the scanner.l file or in flex itself.
>
>> Automatic build of filtergen_0.12.4-4.1 on usurper by sbuild/amd64 0.46
> ...
>> if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.-D_GNU_SOURCE -O2 -W 
>> -Wall -Werror -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs 
>> -Wshadow -Wbad-function-cast -Wwrite-strings -MT scanner.o -MD -MP -MF 
>> ".deps/scanner.Tpo" -c -o scanner.o scanner.c; \
>>  then mv -f ".deps/scanner.Tpo" ".deps/scanner.Po"; else rm -f 
>> ".deps/scanner.Tpo"; exit 1; fi
>> cc1: warnings being treated as errors
>> scanner.c: In function 'yy_get_next_buffer':
>> scanner.c:1317: warning: comparison between signed and unsigned
>> make[3]: *** [scanner.o] Error 1

This is a recurrence of #359127: "flex: comparison between signed and
unsigned in generated scanner".  flex.skl contains the fix, but skel.c
needs to be rebuilt.

Thanks,

Matej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#379763: FTBFS: comparison between signed and unsigned

2006-07-25 Thread Martin Michlmayr
Package: filtergen
Version: 0.12.4-4.1
Severity: serious

Some builds fail with the following error.  This can be reproduced on
any arch, but for some reason it seems that scanner.c is not always
generated from scanner.l.  When you regenerate it manually, you
definitely see the error though.

I don't know if this is a bug in the scanner.l file or in flex itself.

> Automatic build of filtergen_0.12.4-4.1 on usurper by sbuild/amd64 0.46
...
> if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.-D_GNU_SOURCE -O2 -W 
> -Wall -Werror -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs 
> -Wshadow -Wbad-function-cast -Wwrite-strings -MT scanner.o -MD -MP -MF 
> ".deps/scanner.Tpo" -c -o scanner.o scanner.c; \
>   then mv -f ".deps/scanner.Tpo" ".deps/scanner.Po"; else rm -f 
> ".deps/scanner.Tpo"; exit 1; fi
> cc1: warnings being treated as errors
> scanner.c: In function 'yy_get_next_buffer':
> scanner.c:1317: warning: comparison between signed and unsigned
> make[3]: *** [scanner.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]