Re: warning in AC_CHECK_DECL

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[redirecting from autoconf-patches]

According to Eric Blake on 2/16/2006 12:36 PM:
>>>Without this patch, AC_FUNC_STRERROR_R (and anything else that uses
>>>AC_CHECK_DECL) gets set incorrectly when configuring with gcc and
>>>CFLAGS='-Wall -Werror'.  For example, CVS head tar grabbed the wrong value
>>>(leading to another bug report against gnulib argp-help's unused variable
>>>when strerror_r is not found):
> 
> Followup - with the earlier patch fixed, now AC_FUNC_STRERROR_R has a
> warning, that was making the -Wall -Werror compilation think that
> strerror_r returned int instead of char* on cygwin.
>
> 2006-02-16  Eric Blake  <ebb9@xxxxxxx>
>
> 	* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
> 	variable warning.
>

With my proposed patch to AC_FUNC_STRERROR_R, gnulib's m4/strerror_r.m4 is
now out of date.  Either we need to update the various gnulib macros
borrowed from CVS autoconf to override bugs in autoconf 2.59, or we need
to release autoconf 2.60.  What are the remaining issues in the way of
releasing autoconf 2.60?

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@xxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD9OaD84KuGfSFAYARAvZNAKCcR/4gGvqfezXT7QWy2wEwIsvZ9wCfR/3K
Kewj32Ru8BJDaUPHX0PqybA=
=t2bm
-----END PGP SIGNATURE-----


_______________________________________________
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