On Sat, 31 May 2008 02:17:48 +0100 Ciaran McCreesh <[EMAIL PROTECTED]> wrote:
> On Sat, 31 May 2008 03:03:42 +0200 > Luca Barbato <[EMAIL PROTECTED]> wrote: > > Ciaran McCreesh wrote: > > > Which is where the design flaw is -- as-needed incorrectly assumes > > > that the only type of dependency between shared objects is a name > > > dependency. This isn't true with C++ static initialisers. > > > > I don't see why should be different than abusing .init in any other > > language that let you do (ok, C, C++, asm mostly). > > In C++ it's not abuse. It's using the language as specified and > designed. > Would that be possible for you (or anyone else) to point or provide example of code that breaks after use of as-needed? -- Michal Kurgan http://dev.gentoo.org/~moloh -- gentoo-dev@lists.gentoo.org mailing list