bug-gnulib
[Top][All Lists]
Advanced

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

Re: make autoconf tests work with -Werror=implicit-function-declaration


From: Jim Meyering
Subject: Re: make autoconf tests work with -Werror=implicit-function-declaration
Date: Sun, 15 Sep 2019 10:04:25 -0700

On Sat, Sep 14, 2019 at 10:51 AM Bruno Haible <address@hidden> wrote:
> There are indications that future GCC versions may be stricter regarding
> invocations of undeclared functions. [1] Configuring with
>   CC="gcc -Werror=implicit-function-declaration"
> is a way to exercise similar functionality with released GCCs.
>
> So, what I did is
>   1. create a testdir of all of gnulib,
>   2. configure it once with CC="gcc" and once with
>      CC="gcc -Werror=implicit-function-declaration", both with option '-C',
>   3. compare the resulting config.cache files.
>
> I got differences in the cache variables
>   gl_cv_func_ptsname_sets_errno
>   gt_cv_locale_tr_utf8
>
> This patch fixes the issues.
>
> [1] https://lists.gnu.org/archive/html/bug-gettext/2019-09/msg00012.html

Thanks for your constant vigilance and all the proactive work on gnulib.



reply via email to

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