Mail Archives: djgpp/1997/04/17/14:37:02
Andrew Crabtree wrote:
>
> > 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
Also be aware of the differences in the meaning of '()' and '(...)'
between C and C++. I don't know if that could make a difference in this
case, but it might.
-- David T. McKee:
-- Think: Innovative Science Learning Systems
-- Physics, Electrical Science, Computer
-- Science, Natural Science, Theology
======================Signature Block====================
It is the glory of God to conceal a matter; To search out
a matter is the glory of kings. Pr 25:2
---------------------------------------------------------
There is nothing so sacred as it cannot be looked into...
=========================================================
- Raw text -