Mail Archives: djgpp/1995/03/30/09:08:43
Dear John,
I know you've solved the problem but maby you can try this:
Rename the file generated by Bison from xxx.c to xxx.cc
I think Bison generates statements like:
#ifdef _cplusplus
....
#endif
So when you feed this file to gcc, it treats it as an C++ file and everything
should by OK (The names are mangled, the proper defines are included, etc.)
I generated Bison files at home and rename them to .cc files and it worked,
so I hope this works for you too. :-)
Many greetings,
Erwin.
- Raw text -