lkml.org 
[lkml]   [1998]   [Jun]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Alan Cox)
SubjectRe: OFFTOPIC: e2fsprogs and +2Gb partitions
DateSat, 13 Jun 1998 18:32:58 +0100 (BST)
> 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 12:43    [from the cache]
©2003-2008