Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror

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

 



Hello Paul, David,

* Paul Eggert wrote on Tue, Aug 15, 2006 at 06:29:57PM CEST:
> Thanks for reporting this; I didn't realize it was a regression.

I still don't understand why this is a regression (the FreeBSD 5.4 I
have access to has stdint.h).

> -Wundef is a bit controversial, but it's easy for Autoconf to support
> its use for programmers that prefer it, so I installed the following
> patch.

> +** Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H" rather than
> +  "#if HAVE_STDLIB_H", so that it now works with "gcc -Wundef -Werror".
> +

Except now, HAVE_MALLOC, HAVE_REALLOC, and the results of AC_CHECK_DECLS
(HAVE_DECL_*) are special cases.  They seem to be documented correctly
as such in the manual, but I think a mention of these in the NEWS item
would be helpful, given that you intend to keep them that way.

(And no, I don't know the reason for each of these special cases; at
least the AC_CHECK_DECLS one looks like it's very much intended so.)

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux