KDE/kdelibs/kdecore

Lubos Lunak l.lunak at suse.cz
Tue Oct 24 13:08:08 BST 2006


On Monday 23 October 2006 15:01, Thiago Macieira wrote:
> David Faure wrote:
> >inline is only a hint for the compiler. It might decide to not inline
> > the call; so the lib has to provide the method anyway, so it needs to
> > be exported.
>
> Which is what I mentioned: doesn't the compiler have to generate the
> out-of-line copy with a weak symbol in that case?

 No, it doesn't, not necessarily. See info:/gcc/Vague Linkage (although 
currently according to it a copy is always generated whenever needed in this 
specific case).

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz




More information about the kde-core-devel mailing list