delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/18/03:58:39

From: george AT george DOT org (Babylon7)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP: Bison, Flex & C++ class support...
Date: Fri, 18 Apr 1997 03:13:47 GMT
Organization: Erol's Internet Services
Lines: 27
Message-ID: <335ee6ea.25881627@news.erols.com>
References: <3355bec7 DOT 44451742 AT news DOT erols DOT com> <33564B4B DOT 50DD1411 AT alcyone DOT com>
NNTP-Posting-Host: spg-as25s25.erols.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


>>  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.
>

	true... just warnings... but i got no output !!

	usually a warning will let you run the prog
	anyway to your own detriment.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019