Re: Problem with flex?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christer Solskogen <christer.solskogen@xxxxxxxxx> writes:

> On Tue, Apr 3, 2012 at 3:53 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
>> What version of flex do you have installed?  If you look at the file
>> gcc/gengtype-lex.c in your build directory, do you see typedefs for
>> flex_int32_t?
>>
>
> flex --version
> flex 2.5.35
>
> grep int32 gengtype-lex.c
>         flex_int32_t yy_verify;
>         flex_int32_t yy_nxt;
> static yyconst flex_int32_t yy_ec[256] =
> static yyconst flex_int32_t yy_meta[63] =

How odd.  My flex (on Ubuntu) also reports itself as 2.5.35.  But:

> grep int32 gengtype-lex.c
typedef int32_t flex_int32_t;
typedef uint32_t flex_uint32_t;
typedef int flex_int32_t;
typedef unsigned int flex_uint32_t;
	flex_int32_t yy_verify;
	flex_int32_t yy_nxt;
static yyconst flex_int32_t yy_ec[256] =
static yyconst flex_int32_t yy_meta[63] =

Why are you missing the typedefs?  I have no suggestion.  It seems like
it must be a bug in your version of flex.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux