-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Compiling creates errors like:
/tmp/zorba-20240217-2363463-adrtuk/zorba-3.1/src/store/naive/loader_fast.cpp:219:26: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
219 | theSaxHandler.serror = &XmlLoader::error;
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)}
/tmp/zorba-20240217-2363463-adrtuk/zorba-3.1/src/store/naive/loader_dtd.cpp: In constructor ‘zorba::simplestore::FragmentXmlLoader::FragmentXmlLoader(zorba::store::ItemFactory*, zorba::XQueryDiagnostics*, const zorba::store::LoadProperties&, bool)’:
/tmp/zorba-20240217-2363463-adrtuk/zorba-3.1/src/store/naive/loader_dtd.cpp:110:26: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
110 | theSaxHandler.serror = &XmlLoader::error;
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)}
/tmp/zorba-20240217-2363463-adrtuk/zorba-3.1/src/store/naive/loader_dtd.cpp: In constructor ‘zorba::simplestore::DtdXmlLoader::DtdXmlLoader(zorba::store::ItemFactory*, zorba::XQueryDiagnostics*, const zorba::store::LoadProperties&, bool)’:
/tmp/zorba-20240217-2363463-adrtuk/zorba-3.1/src/store/naive/loader_dtd.cpp:603:26: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
603 | theSaxHandler.serror = &XmlLoader::error;
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)}
make[2]: *** [src/CMakeFiles/zorba_simplestore.dir/build.make:10005: src/CMakeFiles/zorba_simplestore.dir/store/naive/loader_fast.cpp.o] Error 1
As spotted in: Homebrew/homebrew-core#153108
Metadata
Metadata
Assignees
Labels
No labels