lkml.org 
[lkml]   [1998]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: OFFTOPIC: e2fsprogs and +2Gb partitions
Date
> Andi Kleen <ak@muc.de> writes:
>
> > One thing I would wish for a _LINUX_SOURCE would be the definition of
> > the "linux standard" __u{64,32,16,8} / u{64,32,16,8} /
> > s{64,32,16,8} / __s{64,32,16,8} typedefs.
>
> Did you ever thought about namespace problems? These names are one of
> the reasons many programs contain #ifdef linux or exist in Linux
> variants.

Thats why _LINUX_SOURCE is clearly needed for such a case. The namespace
issues are not trivial.

> A very easy solution to this problem is to have in the application
> code a header which defines these types. Not including these types is
> again the only mean to make sure these incompatible types are not
> generally used.

Every application ?

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site