bug-texinfo
[Top][All Lists]
Advanced

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

Re: Texinfo master branch [macOS]


From: Bruno Haible
Subject: Re: Texinfo master branch [macOS]
Date: Mon, 10 Jun 2024 19:10:14 +0200

Patrice Dumas wrote:
> > 2) On macOS 11..13, there is a compilation error:
> > I would guess that the cause is a missing '#include <locale.h>'.
> 
> It seems like it is xlocale.h on macOS.  It should be fixed by this
> commit:
> 
> https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=5efd627915bd05d4c265f111991d371e0b5cfd27

It seems to help. Now, there is a different compilation error:

-------------------------------------------------------------------------------
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../../../tp/Texinfo/XS 
-I../../../../tp/Texinfo/XS/main -I../../../../tp/Texinfo/XS/parsetexi 
-I../../../../tp/Texinfo/XS -DDATADIR=\"/usr/local/share\" 
-I../../../../tp/Texinfo/XS/gnulib/lib -I./gnulib/lib -I/Users/runner/include 
-I/usr/local/opt/gettext/include -Wall -I/usr/local/include -MT 
parsetexi/libtexinfo_la-conf.lo -MD -MP -MF 
parsetexi/.deps/libtexinfo_la-conf.Tpo -c 
../../../../tp/Texinfo/XS/parsetexi/conf.c  -fno-common -DPIC -o 
parsetexi/.libs/libtexinfo_la-conf.o
../../../../tp/Texinfo/XS/parsetexi/conf.c:99:3: error: implicitly declaring 
library function 'free' with type 'void (void *)' 
[-Werror,-Wimplicit-function-declaration]
  free (global_parser_conf.documentlanguage);
  ^
../../../../tp/Texinfo/XS/parsetexi/conf.c:99:3: note: include the header 
<stdlib.h> or explicitly provide a declaration for 'free'
1 error generated.
make[5]: *** [parsetexi/libtexinfo_la-conf.lo] Error 1
-------------------------------------------------------------------------------

Bruno






reply via email to

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