Thanks for this.
I renamed "error.h" in groff to "groff_error.h".
Bjarni Ingi Gislason wrote:
> 2) with the commit, the config.log contains
>
> GL_GENERATE_ERROR_H_FALSE=''
> GL_GENERATE_ERROR_H_TRUE='#'
>
> and the Makefile contains
>
> lib/error.h: $(top_builddir)/config.status
> rm -f $@
That's because you happen to do this build on a platform wh
Thanks for some insights.
I reverted the commit to get the compilation error-free.
Some observations with the commit added
1) /lib/error.h is not compiled from /lib/error.in.h
It is there when the commit is abset.
2) with the commit, the config.log contains
GL_GENERATE_ERROR_H_FALSE=
Bjarni Ingi Gislason wrote:
> ../lib/openat-die.c:37:3: warning: implicit declaration of function 'error';
> did you mean 'strerror'? [-Wimplicit-function-declaration]
>37 | error (exit_failure, errnum,
> ...
> "error.h" is a local file with:
>
> // -*- C++ -*-
> /* Copyright (C) 1989-202
Software: groff
I got these warnings in directory "groff/build" after an update of
gnulib (13th January), commit 2886cca8398f4c5a4d68368a19c0e6d0ff97c739
CC lib/libgnu_a-openat-die.o
In file included from ../lib/openat-die.c:25:
../src/include/error.h:22:44: warning: type defaults to '