Sender: mckee AT rtp DOT gtegsc DOT com Message-ID: <33566BEA.2A2C@rtp.gtegsc.com> Date: Thu, 17 Apr 1997 14:28:58 -0400 From: David McKee Organization: GTE (My views are my own) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: HELP: Bison, Flex & C++ class support... References: <199704171602 DOT AA085792924 AT typhoon DOT rose DOT hp DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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... =========================================================