Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror

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

 



David Fang <fang@xxxxxxxxxxxxxxx> 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.


_______________________________________________
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