This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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@tin.it first or at coea@libero.it or at mcodato@dsi.unive.it
thank you
Mattia Codato
|
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |