bug-bison
[Top][All Lists]
Advanced

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

Re: problems compiling groff with gcc-3.0.3


From: Hans Aberg
Subject: Re: problems compiling groff with gcc-3.0.3
Date: Tue, 29 Jan 2002 19:27:11 +0100

At 17:11 +0100 2002/01/29, Akim Demaille wrote:
>| At 12:53 -0800 2002/01/28, Paul Eggert wrote:
>| >How about the following patch instead?  It's simpler and safer, and
>| >(if I understand your problem correctly) should have the same effect.
>| >
>| >Note to Akim: OK to install?
>| >
>| >2002-01-28  Paul Eggert  <address@hidden>
>| >
>| >    * src/bison.simple (YYSIZE_T): Do not define merely because
>| >    YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are
>| >    defined.  On some platforms, <alloca.h> apparently does not
>| >    declare YYSTD (size_t).
>| ...
>| > # if YYSTACK_USE_ALLOCA
>| > #  define YYSTACK_ALLOC alloca
>| >-#  define YYSIZE_T YYSTD (size_t)
>| > # else
>| > #  ifndef YYSTACK_USE_ALLOCA
>| > #   if defined (alloca) || defined (_ALLOCA_H)
>| > #    define YYSTACK_ALLOC alloca
>| >-#    define YYSIZE_T YYSTD (size_t)
>| > #   else
>| > #    ifdef __GNUC__
>| > #     define YYSTACK_ALLOC __builtin_alloca
>|
>| Is your intent to merely remove the definition of YYSIZE_T? -- I do not see
>| how you could escape with that, as alloca takes a size_t as an argument.
>
>Hans, please, do ourselves a favor: before asking questions, see if
>you can't answer to them by ourselves.

I do not currently have access to diff, as I had to de-install my UNIX.

I have a vague memory that - means rows deleted, and the text:

>       * src/bison.simple (YYSIZE_T): Do not define merely because
>       YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are
>       defined.  On some platforms, <alloca.h> apparently does not
>       declare YYSTD (size_t).

seems to say that YYSIZE_T should not be defined.

>  We are here to do free
>software, which means you can read the fucking code.  So read the
>fucking code, and _then_ you may ask a question.

So I read your fucking code, and then I asked the question. -- It would be
better though if your code did not fuck the user.

  Hans Aberg





reply via email to

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