help-gplusplus
[Top][All Lists]
Advanced

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

Re: Linking Problem


From: Paul Pluzhnikov
Subject: Re: Linking Problem
Date: Thu, 10 Nov 2005 08:03:07 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"Paulo Matos" <pocmatos@gmail.com> 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.


reply via email to

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