bug-bison
[Top][All Lists]
Advanced

[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.

Attachment: 0001-build-do-not-prototype-flex-generated-functions.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]