bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison-20001221


From: Akim Demaille
Subject: Re: bison-20001221
Date: 18 Jan 2001 12:27:12 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

>>>>> "Hans" == Hans Aberg <address@hidden> writes:

Hans> At 14:14 +0100 1-01-15, Akim Demaille wrote:
>> I'd be happy to understand how on a Mac you can determine that
>> including sys/types.h is unnecessary, if it's so much platform
>> dependent :)

Hans> I do not remember; it could be that the headers needed already
Hans> were included. Somebody at GNU seems to put in extra headers
Hans> just in case. :-)

My point, again, is that these headers are /extra/ to *you*.  Not
everybody.


>> But the point is, there are very few headers which are available
>> *everywhere*, and *no single GNU program* ever checks for them:
>> stdio.h, sys/types, and sys/stat.h.  Considering the effort it
>> would take the free software to adjust itself to your environment,
>> if I were you I'd create sys/types, and have it include the very
>> very very much more system dependent size_t.h (or I don't remember
>> how it's named).

Hans> If the compiler with ISO/ANSI C, size_t is defined in
Hans> stdio.h. So the system dependency is on those platforms where
Hans> ISO/ANSI C isn't available.

You were the one who referred to something like size_t.h, which I
misunderstood as some Mac stuff.  But again, end of the debate.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]