autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] AC_LANG_INT_SAVE: Modernize function declarators (C89 and ab


From: Paul Eggert
Subject: Re: [PATCH] AC_LANG_INT_SAVE: Modernize function declarators (C89 and above).
Date: Wed, 5 Aug 2020 10:58:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/5/20 10:32 AM, Vincent Lefevre wrote:
With MPFR, it works after applying this patch.

I don't see it as working with MPFR. If you try to build MPFR 4.1.0 with "./configure CFLAGS='-g3 -O2 -Werror=old-style-definition'", then 'configure' makes some other wrong decisions on my platform (Fedora 31 x86-64). For example, 'configure' doesn't "#define STDC_HEADERS 1" as it should, and it creates the wrong value for global_symbol_pipe and for global_symbol_to_cdecl in the 'libtool' file.

Perhaps none of these mistakes happened to bite you in your tests, but the point is that it's always been a bad idea to use -Werror in 'configure', and saying that something doesn't work when one configures with -Werror is not a good motivation for making a change to Autoconf.



reply via email to

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