bug-gnulib
[Top][All Lists]
Advanced

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

Re: groff: error after update of gnulib, 13th January 2023


From: Bruno Haible
Subject: Re: groff: error after update of gnulib, 13th January 2023
Date: Fri, 13 Jan 2023 22:56:24 +0100

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 which already
has /usr/include/error.h. On the other platforms error.h gets created in
the build directory, from error.in.h.

You cannot have a reliable build system if the same include file basename
(here: "error.h") is used to denote two different .h files, one that
declares error_at_line, and one which declares groff C++ classes. This
will *never* be reliable, regardless how to attempt to arrange the -I
options in the AM_CPPFLAGS.

Bruno






reply via email to

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