Interesting...
I had a blank parse.h...

Compiling again... :D
Thanks for the tip!

Paul Pluzhnikov wrote:
> "Paulo Matos" <[EMAIL PROTECTED]> writes:
>
> > Well, I got gcc-3.0.4 and I tried to compile but a lot of errors have
>
> Please do not top-post and read this:
> http://catb.org/~esr/jargon/html/T/top-post.html
>
> > gcc -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> > -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -Icp -I. -I./cp
> > -I./config -I./../include cp/lex.c -o cp/lex.o
> > cp/lex.c:52: error: parse error before "YYSTYPE"
>
> What platform are you compiling this on?
> Gcc-3.0.4 builds just fine on Linux using gcc-3.3.3
>
> BTW, YYSTYPE is supposed to be typedef'd in cp/parse.h, which is
> supposed to look like this:
>
> typedef union {
>   long itype;
>   tree ttype;
>   char *strtype;
>   enum tree_code code;
>   flagged_type_tree ftype;
>   struct unparsed_text *pi;
> } YYSTYPE;
> #define IDENTIFIER      257
> #define TYPENAME        258
> #define SELFNAME        259
> #define PFUNCNAME       260
> #define SCSPEC  261
> ...
>
> Perhaps you ran out of disk quota while extracting the archives?
>
> Cheers,
> --
> In order to understand recursion you must first understand recursion.
> Remove /-nsp/ for email.

_______________________________________________
Help-gplusplus mailing list
Help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to