This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Compiling Bison-generated parsers with MS VC++?
- To: "'Christopher David Hundhausen'" <chundhau at cs dot uoregon dot edu>, gnu-win32 at cygnus dot com
- Subject: RE: Compiling Bison-generated parsers with MS VC++?
- From: "Kubat, Karel" <k dot kubat at roccadefinance dot nl>
- Date: Thu, 8 Oct 1998 17:00:08 +0100
Chris,
> error messages:
> /cygnus/b19/share/bison.simple(327) : error C2065: 'yyerror'
> : undeclared
> identifier
> /cygnus/b19/share/bison.simple(333) : error C2065: 'alloca' :
> undeclared
> identifier
> /cygnus/b19/share/bison.simple(387) : error C2065: 'yylex' :
> undeclared
> identifier
You need to declare your own yyerror() routine, if memory serves me, it
returns an int and requires an int as argument. Same goes for yylex() --
that comes from your flex-generated file.
alloca() is often a problem, I've seen sources of that but I dunno where
anymore...
Cheers, K
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".