[Portland] libdapii

Dan Kegel dank at kegel.com
Wed Mar 1 02:41:26 EET 2006


On 2/28/06, Lubos Lunak <l.lunak at suse.cz> wrote:
> > My hunch is that C++ APIs, or C wrappers around C++ APIs, suffer
> > from ABI issues.  In particular, the problem identified by Mike Hearn
> > here http://gcc.gnu.org/ml/gcc/2005-04/msg00928.html
> > (I can give more links if needed).
> > Non-KDE client libraries meant to be linked to from apps should
> > be implemented in pure C to avoid these issues.
> > The server side can of course be implemented in C++ without
> > running into this problem.
>
>  I don't intend to make the generic C API client library to use any C++ or to
> link to any additional libraries (except maybe DBUS later).

So, are we agreed that the client library is pure C inside and out,
with perhaps a C++ wrapper for convenience?
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv



More information about the Portland mailing list