Mail Archives: djgpp/1997/04/17/12:28:15
> When i overide the .c extensions for lexyy.c and y_tab.c and
> compile everything as c++ code, errors pop up that were not
> present when compiling the files as c-code.
I would try Eli's suggestion first, but in the event that that doesn't help,
perhaps try compiling (as 'C' with 'gcc -Wall -Werror ...'), I think you may
be missing some prototypes. My C++ knowledge is very sketchy, but perhaps
it will work if you have extern C declarations for yyerror and such.
HTH
Andrew
- Raw text -