[Portland] libdapii

Kevin Krammer kevin.krammer at gmx.at
Wed Mar 1 11:56:06 EET 2006


On Wednesday 01 March 2006 01:41, Dan Kegel wrote:
> 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?

Not quite. Lubos means that the protocol code generator would be modified to 
additonally output a C++ implementation instead of just generating a C lib 
and then wrapping it.

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/portland/attachments/20060301/79b885e8/attachment.pgp


More information about the Portland mailing list