Mail Archives: djgpp/1995/03/30/06:32:10
Oh dear, do I have mangle manually?
I am using Bison to create a parser for a ecosystem rule based model,
Bison creates a C program. Now I want to do most of the hard work in
C++. Thus I need to be able to call C++ from C. How do I do it?
To call C from C++ I can use 'extern "C" int myCfunc( void)' to shut
up the C++ name mangler, but how do I convince GCC C to mangle names?
John Carter
Institute for Water Quality Studies. Department of Water Affairs.
Internet : ece AT dwaf-hri DOT pwv DOT gov DOT za
Phone : 27-12-808-0374x194 Fax : 27-12-808-0338
- Raw text -