[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: |
Tue, 11 Jun 2024 12:50:16 +0200 |
Patrice Dumas wrote:
> Thanks, should be fixed.
Seems to help. Now, 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-debug_parser.lo -MD -MP -MF
parsetexi/.deps/libtexinfo_la-debug_parser.Tpo -c
../../../../tp/Texinfo/XS/parsetexi/debug_parser.c -fno-common -DPIC -o
parsetexi/.libs/libtexinfo_la-debug_parser.o
../../../../tp/Texinfo/XS/parsetexi/debug_parser.c:62:7: error: implicitly
declaring library function 'free' with type 'void (void *)'
[-Werror,-Wimplicit-function-declaration]
free (result);
^
../../../../tp/Texinfo/XS/parsetexi/debug_parser.c:62:7: note: include the
header <stdlib.h> or explicitly provide a declaration for 'free'
1 error generated.
make[5]: *** [parsetexi/libtexinfo_la-debug_parser.lo] Error 1
Btw, this is not platform-dependent code. You should see warnings about
such missing #include statements, if you compile with "gcc -Wall" on systems
with glibc. More about best practices for gcc warnings in the Gnulib manual:
https://www.gnu.org/software/gnulib/manual/html_node/manywarnings.html
Bruno
- Texinfo 7.1.0.90 pretest available, Gavin Smith, 2024/06/08
- Re: Texinfo 7.1.0.90 pretest results, Bruno Haible, 2024/06/08
- Re: Texinfo 7.1.0.90 pretest results [OpenBSD 7.5], Gavin Smith, 2024/06/09
- Re: Texinfo 7.1.0.90 pretest results [OpenBSD 7.5], Gavin Smith, 2024/06/09
- Re: Texinfo 7.1.0.90 pretest results [OpenBSD 7.5], Patrice Dumas, 2024/06/10
- Re: Texinfo 7.1.0.90 pretest results [OpenBSD 7.5], Bruno Haible, 2024/06/10
- Re: Texinfo 7.1.0.90 pretest results [OpenBSD 7.5], Patrice Dumas, 2024/06/10
- Re: Texinfo master branch [macOS], Bruno Haible, 2024/06/10
- Re: Texinfo master branch [macOS], Patrice Dumas, 2024/06/11
- Re: Texinfo master branch [macOS],
Bruno Haible <=
- Re: Texinfo master branch [macOS], Patrice Dumas, 2024/06/11
- Re: Texinfo master branch [OpenBSD], Bruno Haible, 2024/06/10
- Re: Texinfo master branch [OpenBSD], Gavin Smith, 2024/06/10
- Re: Texinfo master branch [OpenBSD], Patrice Dumas, 2024/06/11
- Re: Texinfo master branch [Solaris 11 OmniOS], Bruno Haible, 2024/06/10
- Re: Texinfo master branch [Solaris 11 OmniOS], Patrice Dumas, 2024/06/13
- Re: Texinfo master branch [Solaris 11 OmniOS], Gavin Smith, 2024/06/13
- Re: Texinfo 7.1.0.90 pretest results [OpenBSD 7.5], Gavin Smith, 2024/06/10
- Re: Texinfo master branch [macOS], Bruno Haible, 2024/06/10
- Re: Texinfo master branch [macOS], Patrice Dumas, 2024/06/11