Re: Migrating to larger numbers

david parsons (o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s)
8 Jun 1999 21:21:44 -0700


In article <linux.kernel.7jklun$hht$1@sh1.ro.com>,
Chris Adams <cadams@ro.com> wrote:
>Once upon a time, david parsons <o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s> said:
>>In article <linux.kernel.7ITCO6lHw-B@khms.westfalen.de>,
>>Kai Henningsen <kaih@khms.westfalen.de> wrote:
>>>A struct timeval - indeed, any non-arithmetic type - depends on changing
>>>the definition of the C language,
>> The C programming language doesn't care what time_t is, because that's
>> not part of the C programming language.
>
>Why don't people read? According the K&R, 'time_t' is an arithmetic
>type that is defined a part of the standard C library. So, if you want
>to change time_t to a struct, you need to re-define the C language (the
>standard library is basically part of the language).

I'm afraid it isn't, sorry; A conforming compiler will not complain
one bit if you do your own system headers that define time_t as a
union of pointers to arrays of floats.

____
david parsons \bi/ Useful does not mean required.
\/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/