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

List:       kde-core-devel
Subject:    Re: kconfig_compiler generated files
From:       Bo Thorsen <bo () sonofthor ! dk>
Date:       2004-02-03 10:42:20
Message-ID: 200402031142.20361.bo () sonofthor ! dk
[Download RAW message or body]


On Tuesday 03 February 2004 05:05, Zack Rusin wrote:
> On Monday 02 February 2004 22:58, Benjamin Meyer wrote:
> > On Monday 02 February 2004 10:50 pm, Benjamin Meyer wrote:
> > > Sense the code generated by kconfig_compiler creates really small
> > > little functions that are placed in the header, is there a way to
> > > turn on inlineing of them?
>
> They will be inlined. We could explicitly add an inline there if you
> don't trust your compiler.

Marking anything inline only works as a hint to your compiler, so if you 
don't trust it, you can't do anything about it. And as you say, putting 
the method in the header means implicit inlining.

The inline keyword is an abomination that is fortunately getting less and 
less important and used.

Bo.

[Attachment #3 (application/pgp-signature)]

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

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