[Top][All Lists]

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

[sr #110660] AC_LANG_INT_SAVE (used by AC_CHECK_SIZEOF) includes stdlib.

From: Zack Weinberg
Subject: [sr #110660] AC_LANG_INT_SAVE (used by AC_CHECK_SIZEOF) includes stdlib.h without checking whether it actually exists
Date: Tue, 17 May 2022 15:44:38 -0400 (EDT)

Follow-up Comment #1, sr #110660 (project autoconf):

You've been filing all of these bugs -- exactly which version of Autoconf are
you using to generate the configure scripts that show these bugs?  Some of the
things you have said (e.g. talking about configure.in instead of configure.ac)
suggest that you are using a *very old* version of Autoconf.

The code generated for AC_CHECK_SIZEOF, in current versions of autoconf, is
completely different from the code you quoted, and does not make any use of
either stdio.h or stdlib.h, so the bug seems moot to me.

(N.B. Current versions of autoconf do not support pre-C89 compilers.  However,
the bug report is abstractly valid anyway, because a "freestanding" C89
compiler doesn't have to provide stdio.h and stdlib.h.)


Reply to this item at:


  Message sent via Savannah

reply via email to

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