git://git.kernel.org/pub/scm/bluetooth/bluez.git, branch master,
commit c34e7956441 fails to build :
CC tools/lexer.o
cc1: warnings being treated as errors
tools/lexer.c: In function ‘yy_get_next_buffer’:
tools/lexer.c:1095: erreur: comparaison entre des expressions entières
signée et non signée
tools/lexer.c: In function ‘yy_init_buffer’:
tools/lexer.c:1415: erreur: implicit declaration of function ‘isatty’
make[1]: *** [tools/lexer.o] Erreur 1
Regards,
Mickael
Hi,
2011/7/11 Gustavo Padovan <[email protected]>:
> * Mickael Chazaux <[email protected]> [2011-07-10 16:10:22 +0200]:
>
>> git://git.kernel.org/pub/scm/bluetooth/bluez.git, branch master,
>> commit c34e7956441 fails to build :
>>
>> CC tools/lexer.o
>> cc1: warnings being treated as errors
>> tools/lexer.c: In function ‘yy_get_next_buffer’:
>> tools/lexer.c:1095: erreur: comparaison entre des expressions entières
>> signée et non signée
>> tools/lexer.c: In function ‘yy_init_buffer’:
>> tools/lexer.c:1415: erreur: implicit declaration of function ‘isatty’
>> make[1]: *** [tools/lexer.o] Erreur 1
>
> Are you using gentoo? There is a bug in gentoo flex ebuild that cause this.
>
Yes I am using Gentoo. Removing -Werror in the makefile works around
this problem at the moment.
Thanks,
Regards,
Mickael
* Mickael Chazaux <[email protected]> [2011-07-10 16:10:22 +0200]:
> git://git.kernel.org/pub/scm/bluetooth/bluez.git, branch master,
> commit c34e7956441 fails to build :
>
> CC tools/lexer.o
> cc1: warnings being treated as errors
> tools/lexer.c: In function ‘yy_get_next_buffer’:
> tools/lexer.c:1095: erreur: comparaison entre des expressions entières
> signée et non signée
> tools/lexer.c: In function ‘yy_init_buffer’:
> tools/lexer.c:1415: erreur: implicit declaration of function ‘isatty’
> make[1]: *** [tools/lexer.o] Erreur 1
Are you using gentoo? There is a bug in gentoo flex ebuild that cause this.
Gustavo
Hi Mickael,
On Sun, Jul 10, 2011 at 11:10 AM, Mickael Chazaux
<[email protected]> wrote:
> git://git.kernel.org/pub/scm/bluetooth/bluez.git, branch master,
> commit c34e7956441 fails to build :
>
> ?CC ? ? tools/lexer.o
> cc1: warnings being treated as errors
> tools/lexer.c: In function ?yy_get_next_buffer?:
> tools/lexer.c:1095: erreur: comparaison entre des expressions enti?res
> sign?e et non sign?e
> tools/lexer.c: In function ?yy_init_buffer?:
> tools/lexer.c:1415: erreur: implicit declaration of function ?isatty?
> make[1]: *** [tools/lexer.o] Erreur 1
This file is generated by flex. What version are you using? Here I have:
$ flex --version
flex 2.5.35
And there's no such error.
regards,
Lucas De Marchi