[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: |
Paul Eggert |
Subject: |
Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror |
Date: |
Tue, 15 Aug 2006 22:16:01 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
David Fang <address@hidden> writes:
> In practice, I have actually caught one or two serious errors using
> -Wundef -Werror, as anal-retentive and controversial as it may seem.
You're welcome. (I implemented -Wundef many years ago, so you know
where my sympathies lie. :-)
> Wasn't it pointed out in this thread (#if vs. #ifdef) that evaluating
> an undefined macro with #if is undefined in standard C?
I don't recall that claim, but the claim is incorrect. The C Standard
has always required that undefined macros must evaluate to 0 in #if.
> Just confirming: will this revision appear in release 2.61?
That's the intent, yes.
- Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror, (continued)
- #if vs. #ifdef -- again (was: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror), Ralf Wildenhues, 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: #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