Mail Archives: djgpp/1997/04/17/19:13:18
Programmed to death wrote:
> and got the following errors:
>
> bison.simple: In function `int yyparse()':
> bison.simple:377: warning: implicit declaration of function
> `int yylex(...)'
> cplus.lex: In function `int yylex()':
> cplus.lex:21: warning: implicit declaration of function `int
> yyerror(...)'
> d:/langs/djgpp/tmp\ccdaaaaa(.text+0x4b5):y_tab.cc: undefined
> reference to `yylex'
> d:/langs/djgpp/tmp\cceaaaaa(.text+0x247):lexyy.cc: undefined
> reference to `yyerror'
These are warnings, not errors.
The undefined references are just telling you that it saw the use of a
function without a definition or prototype. In other words, it hadn't
heard of, say, `yyerror' until it saw you calling it.
--
Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"The future / is right there."
/ Bill Moyers
- Raw text -