bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] standards.texi error function


From: Paul Eggert
Subject: Re: [bug-gnulib] standards.texi error function
Date: Tue, 14 Dec 2004 17:17:09 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Richard Stallman <address@hidden> writes:

> Why is it complex to tell whether `error' is in libc, why does it need
> a special macro?  Isn't AC_CHECK_FUNC sufficient?

I suspect it's not, because "error" is such a common name, and it's
likely that some operating system defines it to mean something else.

Historically this Autoconf code has always checked for "error_at_line"
instead, making sure that it accepts arguments compatible with the
glibc API.  I don't know the exact history behind this, but I'd be a
bit dubious about simply checking for "error".




reply via email to

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