bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] feature request: argp()


From: Paul Eggert
Subject: Re: [Bug-gnulib] feature request: argp()
Date: 06 Jun 2003 21:17:13 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Simon Josefsson <address@hidden> writes:

> the problem is that argp does
> 
> #ifndef alloca
> # ifdef __GNUC__
> #  define alloca __builtin_alloca
> #  define HAVE_ALLOCA 1
> # else
> #  if defined HAVE_ALLOCA_H || defined _LIBC
> #   include <alloca.h>
> #  else
> #   ifdef _AIX
>  #pragma alloca
> #   else
> #    ifndef alloca
> char *alloca ();
> #    endif
> #   endif
> #  endif
> # endif
> #endif

That's clearly bogus, as it has an 'ifndef alloca' nested inside
an 'ifndef alloca'.  Try replacing this with the code fragment
recommended in the Autoconf 2.57 documentation.

> and that this alloca() declaration doesn't match the one in stdlib.h

Which operating system is this?  Does it have <alloca.h>?  If so,
do <alloca.h> and <stdlib.h> disagree about alloca?




reply via email to

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