[RFC][PATCH 0/2] KABI example conversion and cleanup

Rob Landley rob at landley.net
Sun Mar 26 23:18:29 CEST 2006


On Sunday 26 March 2006 12:57 pm, Avi Kivity wrote:
> This is true for a small enough application. But things grow, libraries
> are added, and includes keep pulling other includes in. Sooner or later
> you'll have a collision.

And you'll fix it when it happens.  Fact of life.

> > The problem is things like u64 etc that is VERY common in all headers,
> > but then again __u64 etc are just fine, history has proven that already.
>
> Agree. But to be on the safe side one can use uint64_t and friends
> (which the kernel can typedef to u64 and first degree relatives)

Now that the kernel no longer targets gcc before 3.2, c99 names are merely 
ugly rather than an actual problem. :)

Rob
-- 
Never bet against the cheap plastic solution.


More information about the llh-discuss mailing list