bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 1.49a released


From: Hans Aberg
Subject: Re: Bison 1.49a released
Date: Mon, 3 Jun 2002 12:57:13 +0200

At 09:30 +0200 2002/06/03, Akim Demaille wrote:
>| I think that this error happens, because you have not set
>| YY_NEVER_INTERACTIVE; then,
>
>So you did read the sources and missed errno.h?

I merely picked down (some weeks ago) the sources at
  ftp://alpha.gnu.org/gnu/bison/bison-1.49a.tar.gz   (862 kB)
appiled some of my Mac patches, and then compiled them, without going into
details. I do use Flex myself, producing working MacOS pre-X code, though,
but I did some tweaks to the skeleton file.

Thus, the facts of my report may or may not be relevant to you.

>| I do not have fileno() on my system,
>
>Really!?!

This function returns a UNIX file descriptor number, thus is platform
dependent, and not in the ISO C standard. Same applies to isatty(). For
system(), ISO C allows it to nothing, which in fact my compiler does
(nothing). Thus, one will have to write ones own extensions (which I did
for the Hugs MacOS port).

Those things have probably been changed with MacOS X, but the point I want
to bring out is that for ISO C programming, one cannot assume such things.
-- But perhaps those things are in POSIX.

  Hans Aberg





reply via email to

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