[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Txr-users] Error building 025
From: |
Kaz Kylheku |
Subject: |
Re: [Txr-users] Error building 025 |
Date: |
Wed, 25 Nov 2009 21:51:42 -0800 |
On Wed, Nov 25, 2009 at 5:35 PM, Kaz Kylheku <address@hidden> wrote:
> On Wed, Nov 25, 2009 at 4:13 PM, Kevin Quick <address@hidden> wrote:
>> gcc -I. -I/Files/Compile/Sources/txr-025 -ansi -D_POSIX_C_SOURCE=2 -Wall -O2
>> -g -c -o y.tab.o y.tab.c
>> In file included from parser.y:34:
>> lib.h:67: error: expected specifier-qualifier-list before ‘wchar_t’
>
> So I was right about parser.y.Your Bison parser generator must be
> generating an #include <stdlib.h> in y.tab.c, unlike my Bison.
>
> I already commited a fix which eliminates that dependency.
I've repro'd the issue on Fedora 11 and confirmed the fix.
The newer Bison also found an error in the grammar.
Also, tested a txr build using Berkeley yacc instead of Bison.