[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE/kdelibs/kdecore
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2006-10-24 12:08:08
Message-ID: 200610241408.08846.l.lunak () suse ! cz
[Download RAW message or body]

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@suse.cz , l.lunak@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic