We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja -k 0 [1/35] Compiling C object src/libaravis-0.8.so.0.8.30.p/arvxmlschema.c.o FAILED: src/libaravis-0.8.so.0.8.30.p/arvxmlschema.c.o /usr/bin/gcc -Isrc/libaravis-0.8.so.0.8.30.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fPIC -DWITH_GZFILEOP -DARAVIS_COMPILATION -MD -MQ src/libaravis-0.8.so.0.8.30.p/arvxmlschema.c.o -MF src/libaravis-0.8.so.0.8.30.p/arvxmlschema.c.o.d -o src/libaravis-0.8.so.0.8.30.p/arvxmlschema.c.o -c ../src/arvxmlschema.c ../src/arvxmlschema.c: In function ‘arv_xml_schema_validate’: ../src/arvxmlschema.c:104:51: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 104 | xmlSetStructuredErrorFunc (&schema_error, _structured_error_handler); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:15, from /usr/include/libxml2/libxml/parser.h:19, from ../src/arvxmlschema.c:30: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../src/arvxmlschema.c:109:78: error: passing argument 2 of ‘xmlSchemaSetValidStructuredErrors’ from incompatible pointer type [-Wincompatible-pointer-types] 109 | xmlSchemaSetValidStructuredErrors (schema->priv->valid_ctxt, _structured_error_handler, &schema_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from ../src/arvxmlschema.c:32: /usr/include/libxml2/libxml/xmlschemas.h:185:65: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 185 | xmlStructuredErrorFunc serror, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/arvxmlschema.c:110:80: error: passing argument 2 of ‘xmlSchemaSetParserStructuredErrors’ from incompatible pointer type [-Wincompatible-pointer-types] 110 | xmlSchemaSetParserStructuredErrors (schema->priv->parser_ctxt, _structured_error_handler, &schema_error); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} /usr/include/libxml2/libxml/xmlschemas.h:156:65: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 156 | xmlStructuredErrorFunc serror, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/arvxmlschema.c: In function ‘arv_xml_schema_class_init’: ../src/arvxmlschema.c:215:9: warning: ‘xmlLineNumbersDefault’ is deprecated [-Wdeprecated-declarations] 215 | xmlLineNumbersDefault (1); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/parser.h:967:17: note: declared here 967 | xmlLineNumbersDefault (int val); | ^~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: cannot make progress due to previous errors.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Build fails with
The text was updated successfully, but these errors were encountered: