bug-gnulib
[Top][All Lists]
Advanced

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

Re: lib/string.h: "gcc-11" reports an error when compiling "groff"


From: Bjarni Ingi Gislason
Subject: Re: lib/string.h: "gcc-11" reports an error when compiling "groff"
Date: Sat, 9 Oct 2021 15:27:33 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

On Sat, Oct 09, 2021 at 12:53:41AM -0700, Paul Eggert wrote:
> On 10/8/21 6:43 PM, Bjarni Ingi Gislason wrote:
> >    CC       src/devices/xditview/gxditview-Dvi.o
> > In file included from /usr/include/X11/Intrinsic.h:61,
> >                   from /usr/include/X11/IntrinsicP.h:51,
> >                   from ../src/devices/xditview/Dvi.c:18:
> > ./lib/string.h:965:1: error: expected ',' or ';' before 
> > '_GL_ATTRIBUTE_MALLOC'
> 
> 
> This is a bug in Groff, not Gnulib, since that file does not include
> <config.h> first. I submitted a Groff bug report here:
> 
> https://savannah.gnu.org/bugs/index.php?61315

Thanks, I had already added #include "config.h" (not <config.h>) to
some files when the output of a compilation had a message about this
being missing.

  Thus now I only needed to add it to "Dvi.c" and "xmalloc.c" to finish
the compilation.

-- 
Bjarni I. Gislason



reply via email to

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