[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building bison from master fails: "conflicting types for 'code_get_l
From: |
Akim Demaille |
Subject: |
Re: Building bison from master fails: "conflicting types for 'code_get_leng'" |
Date: |
Tue, 15 May 2012 11:23:52 +0200 |
Le 14 mai 2012 à 23:11, Stefano Lattarini a écrit :
>> Hi Stefano,
>>
>> Thanks for the report. As far as I know there is no such things
>> as Flex 2.5.36. Where does it come from?
>>
> Basically, it was a version of flex built from its development branch.
> But the error persists also with flex 2.5.35 (installed from a Debian
> package).
So I guess this is a modified 2.5.35, as I have:
int code_get_leng (void );
Great...
>> Could you provide me with the conflicted types?
>>
>
>> From 'src/scan-code.c':
>
> 220:typedef size_t yy_size_t;
> ...
> 679:#define FLEX_PREFIX(Id) code_ ## Id
> 680:#include <src/flex-scanner.h>
> ...
> 789:yy_size_t code_get_leng (void );
>
>> From 'src/flex-scanner.h':
>
> 28:int FLEX_PREFIX (get_leng) (void);
Could you please try the attached patch? Also in the
branch "next" at the moment.
0001-build-do-not-prototype-flex-generated-functions.patch
Description: Binary data
- Building bison from master fails: "conflicting types for 'code_get_leng'", Stefano Lattarini, 2012/05/13
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Akim Demaille, 2012/05/14
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Stefano Lattarini, 2012/05/14
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'",
Akim Demaille <=
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Stefano Lattarini, 2012/05/15
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Stefano Lattarini, 2012/05/15
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Akim Demaille, 2012/05/15
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Stefano Lattarini, 2012/05/15
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Akim Demaille, 2012/05/16
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Stefano Lattarini, 2012/05/16
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Akim Demaille, 2012/05/16
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Stefano Lattarini, 2012/05/19
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Akim Demaille, 2012/05/21
- Re: Building bison from master fails: "conflicting types for 'code_get_leng'", Stefano Lattarini, 2012/05/21