From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP: Bison, Flex & C++ class support... Date: Thu, 17 Apr 1997 09:09:47 -0700 Organization: Alcyone Systems Lines: 28 Message-ID: <33564B4B.50DD1411@alcyone.com> References: <3355bec7 DOT 44451742 AT news DOT erols DOT com> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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