Re: finish the GNULIB_POSIXCHECK framework

2018-08-05 Thread Jim Meyering
On Sun, Aug 5, 2018 at 11:26 PM, Bruno Haible wrote: > With this framework in place, it is now possible to eliminate the > "checking whether ... is declared without a macro" checks when they > are not needed. > > 2018-08-05 Bruno Haible > > Optimize the "checking whether ... is declared

Re: finish the GNULIB_POSIXCHECK framework

2018-08-05 Thread Bruno Haible
With this framework in place, it is now possible to eliminate the "checking whether ... is declared without a macro" checks when they are not needed. 2018-08-05 Bruno Haible Optimize the "checking whether ... is declared without a macro" checks. Suggested by Paul Eggert in

Re: finish the GNULIB_POSIXCHECK framework

2018-08-04 Thread Bruno Haible
For completeness: This patch incorporates also the lesson from an earlier discussion [1], namely that it's OK if the maintainer has to regenerate the Autotools- generated files when they want to enable the posixcheck. [1] https://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00349.html

finish the GNULIB_POSIXCHECK framework

2018-08-04 Thread Bruno Haible
Currently the framework for using GNULIB_POSIXCHECK is hardly usable: - It is not documented. - The user has to remember that they will not be warned about functions declared in header files for which they have not requested the Gnulib replacement. This patch fixes both issues. 2018-08-04 B