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: Akim Demaille
Subject: Re: problems compiling groff with gcc-3.0.3
Date: 29 Jan 2002 17:11:53 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

| 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.  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.  Otherwise, your
messages are nothing but pollution.



reply via email to

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