[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66561] Unable to build gettext with gcc-14
From: |
rlanore |
Subject: |
[bug #66561] Unable to build gettext with gcc-14 |
Date: |
Fri, 13 Dec 2024 09:26:06 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?66561>
Summary: Unable to build gettext with gcc-14
Group: GNU gettext
Submitter: rlanore
Submitted: Fri 13 Dec 2024 02:26:02 PM UTC
Category: Build
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 13 Dec 2024 02:26:02 PM UTC By: rlanore <rlanore>
Hi,
I have some problem to build gettext 0.23 with gcc-14 and libxml2 version
2.13.5 .
Someone could help me ?
thanks
libtool: compile: gcc-14
-DLOCALEDIR=\"/home/rlanore/Documents/git/github/homebrew/Cellar/gettext/0.23/share/locale\"
-DBISON_LOCALEDIR=\"/home/rlanore/Documents/git/github/homebrew/Cellar/gettext/0.23/share/locale\"
-DUSEJAVA=0
-DGETTEXTJAR=\"/home/rlanore/Documents/git/github/homebrew/Cellar/gettext/0.23/share/gettext\"\"/gettext.jar\"
-DBINDIR=\"/home/rlanore/Documents/git/github/homebrew/Cellar/gettext/0.23/bin\"
-DLIBDIR=\"/home/rlanore/Documents/git/github/homebrew/Cellar/gettext/0.23/lib\"
-DLIBEXECDIR=\"/home/rlanore/Documents/git/github/homebrew/Cellar/gettext/0.23/libexec\"
-DGETTEXTDATADIR=\"/home/rlanore/Documents/git/github/homebrew/Cellar/gettext/0.23/share/gettext\"
-DPROJECTSDIR=\"/home/rlanore/Documents/git/github/homebrew/Cellar/gettext/0.23/share/gettext\"\"/projects\"
-DEXEEXT=\"\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../libgrep -I../libgrep
-I../gnulib-lib -I../gnulib-lib -I../../gettext-runtime/intl
-I../../gettext-runtime/intl
-I///home/rlanore/Documents/git/github/homebrew/opt/libxml2/include/libxml2
-I/home/rlanore/Documents/git/github/homebrew/opt/libunistring/include -g -O2
-c its.c -fPIC -DPIC -o .libs/libgettextsrc_la-its.o
its.c: In function ‘its_rule_list_add_from_file’:
its.c:1600:36: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’
from incompatible pointer type [-Wincompatible-pointer-types]
1600 | xmlSetStructuredErrorFunc (NULL, structured_error);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void *, xmlError *) {aka
void (*)(void *, struct _xmlError *)}
In file included from its.c:31:
///home/rlanore/Documents/git/github/homebrew/opt/libxml2/include/libxml2/libxml/xmlerror.h:905:57:
note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const
struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError
*)’ {aka ‘void (*)(void *, struct _xmlError *)’}
905 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
its.c: In function ‘its_rule_list_add_from_string’:
its.c:1631:36: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’
from incompatible pointer type [-Wincompatible-pointer-types]
1631 | xmlSetStructuredErrorFunc (NULL, structured_error);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void *, xmlError *) {aka
void (*)(void *, struct _xmlError *)}
///home/rlanore/Documents/git/github/homebrew/opt/libxml2/include/libxml2/libxml/xmlerror.h:905:57:
note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const
struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError
*)’ {aka ‘void (*)(void *, struct _xmlError *)’}
905 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
its.c: In function ‘its_rule_list_extract’:
its.c:2044:36: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’
from incompatible pointer type [-Wincompatible-pointer-types]
2044 | xmlSetStructuredErrorFunc (NULL, structured_error);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void *, xmlError *) {aka
void (*)(void *, struct _xmlError *)}
///home/rlanore/Documents/git/github/homebrew/opt/libxml2/include/libxml2/libxml/xmlerror.h:905:57:
note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const
struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError
*)’ {aka ‘void (*)(void *, struct _xmlError *)’}
905 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
its.c: In function ‘its_merge_context_merge’:
its.c:3024:36: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’
from incompatible pointer type [-Wincompatible-pointer-types]
3024 | xmlSetStructuredErrorFunc (NULL, structured_error);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void *, xmlError *) {aka
void (*)(void *, struct _xmlError *)}
///home/rlanore/Documents/git/github/homebrew/opt/libxml2/include/libxml2/libxml/xmlerror.h:905:57:
note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const
struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError
*)’ {aka ‘void (*)(void *, struct _xmlError *)’}
905 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
its.c: In function ‘its_merge_context_alloc’:
its.c:3055:36: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’
from incompatible pointer type [-Wincompatible-pointer-types]
3055 | xmlSetStructuredErrorFunc (NULL, structured_error);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void *, xmlError *) {aka
void (*)(void *, struct _xmlError *)}
///home/rlanore/Documents/git/github/homebrew/opt/libxml2/include/libxml2/libxml/xmlerror.h:905:57:
note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const
struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError
*)’ {aka ‘void (*)(void *, struct _xmlError *)’}
905 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
its.c: In function ‘its_merge_context_write’:
its.c:3077:36: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’
from incompatible pointer type [-Wincompatible-pointer-types]
3077 | xmlSetStructuredErrorFunc (NULL, structured_error);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void *, xmlError *) {aka
void (*)(void *, struct _xmlError *)}
///home/rlanore/Documents/git/github/homebrew/opt/libxml2/include/libxml2/libxml/xmlerror.h:905:57:
note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const
struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError
*)’ {aka ‘void (*)(void *, struct _xmlError *)’}
905 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66561>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66561] Unable to build gettext with gcc-14,
rlanore <=