[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 10 19:48:34 1999 
Subject:news-relayFrom: pop@roo.cs.umass.edu (Robin Popplestone) 
From:PP User 
Volume-ID:990510.07 

> As Aaron pointed out C is possible. I made some attempts to integrate
> some C++ code with POP11 a while ago. I don't think POP deals with the
> way C++ classes are named inside the libraries. The standard way around
> this is to write C wrappers of the C++:

There are 2 complications with C++. One is that C++ supports overloading
of user-defined functions. Given that the ordinary linker is used,
it is then necessary for C++ to invent distinct link-names
for two functions that have the same user-defined name but
different argument types. Last time I looked, these might not
even be portable across different versions of C++, tho' no doubt
that's been sorted. The other problem is that methods may take an extra
parameter, providing "this".

Robin.