[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror
From: |
Ralf Wildenhues |
Subject: |
Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror |
Date: |
Wed, 16 Aug 2006 07:16:56 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
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
- Re: #if vs. #ifdef -- again (was: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror), (continued)
- Re: #if vs. #ifdef -- again (was: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror), Stepan Kasal, 2006/08/15
- Re: #if vs. #ifdef -- again (was: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror), nash, 2006/08/15
- Re: #if vs. #ifdef -- again (was: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror), Andreas Schwab, 2006/08/15
- Re: #if vs. #ifdef -- again (was: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror), nash, 2006/08/15
- Re: #if vs. #ifdef -- again (was: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror), Andreas Schwab, 2006/08/15
- Re: #if vs. #ifdef -- again (was: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror), Stepan Kasal, 2006/08/15
Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror, Paul Eggert, 2006/08/15
Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror, Eric Blake-1, 2006/08/28
Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror, Eric Blake, 2006/08/29