to:[EMAIL PROTECTED]
> Sent: Sunday, September 07, 2008 5:45 PM
> To: Lemaitre Laurent-R29173
> Cc: gcc@gcc.gnu.org
> Subject: Re: front-end: compilation fails - how to fix 'use
> poisoned USE_MAPPED_LOCATION'
>
> >>>>> "Laurent" == Lemai
Hi All,
I am building a new gcc front-end based on the treelang example.
I recently updated my gcc local SVN repository.
When I compile my front-end I get the following errors:
../../svn/gcc/laurent/lex.l:6:8: error: attempt to use poisoned
"USE_MAPPED_LOCATION"
../../svn/gcc/laurent/lex.l:26:8: er
Hi All,
In file treelang.h structure token_part is defined as follows:
struct token_part GTY(())
{
location_t location;
unsigned int charno;
unsigned int length; /* The value. */
const unsigned char *chars; <-- HERE
};
'unsigned char *chars' is used instead of just 'char *chars'.
Is-the