Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <001701bf910b$ab228fe0$7427d8d4@mcodat> From: "coea" To: Subject: Help Me!! Date: Sat, 18 Mar 2000 19:56:24 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0014_01BF9114.0A724E60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 ------=_NextPart_000_0014_01BF9114.0A724E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi all!! I'm building a little project about representation of function, and i need a parser to scan the strings i send to the main function. using the bison program i get the followin message bison -d Parser.y bison.exe:bad address i tried also to use the byacc program (for what i know is similar), and the flex program, but this generate other problems, in fact the compile fase was no problem, but at link time, the ld warn about an unreferenced function "yywrap()" called by the .c files generated by the byacc program. This function is declared as 'extern', so i think it should be declared in some other file (generated by some other programs) maybe yywrap() is a function generated by bison (but bison don't want to run)??? how to resolve the 'bad address' problem in bison?? P.S. in the makefile i compile using g++ -D__cplusplus ..list of files sorry for my bad english if you can't reply me on the mail list, please write at coea77 AT tin DOT it = first or at coea AT libero DOT it or at mcodato AT dsi DOT unive DOT it thank you Mattia Codato ------=_NextPart_000_0014_01BF9114.0A724E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi all!!
I'm building a little = project about=20 representation of function,
and i need a parser to scan the strings i = send to=20 the main function.
 
using the bison program i get the = followin=20 message
 
bison -d Parser.y
bison.exe:bad=20 address
 
i tried also to use the byacc = program (for what=20 i know is similar),
and the flex program, but this generate other = problems,=20 in fact
the compile fase was no problem, but at link time, the ld = warn=20 about
an unreferenced function "yywrap()" called by the .c=20 files
generated by the byacc program. This function is declared as=20 'extern',
so i think it should be declared in some other file = (generated by=20 some
other programs)
 
maybe yywrap() is a function = generated by bison=20 (but bison don't want
to run)???
 
how to resolve the 'bad address' = problem in=20 bison??
 
P.S. in the makefile  i compile = using g++=20 -D__cplusplus ..list of files
 
sorry for my bad = english
 
if you can't reply me on the mail list, please write = at coea77 AT tin DOT it first or at coea AT libero DOT it or at mcodato AT dsi DOT unive DOT it
 
thank you
 
Mattia = Codato
------=_NextPart_000_0014_01BF9114.0A724E60--