KDE/kdelibs/kdecore

Thiago Macieira thiago at kde.org
Mon Oct 23 14:01:14 BST 2006


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? Or is this a non-ELF 
behaviour?

(I seem to remember something about this when dealing with Mach-O)

Assuming that an out-of-line copy has been generated seems broken, IMHO. 
Different optimisations and different circumstances may have applied.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061023/551adcec/attachment.sig>


More information about the kde-core-devel mailing list