https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122398
Bug ID: 122398
Summary: [16 regression] libgcobol fails to build w/
libxml2-2.15.0
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: cobol
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
Target Milestone: ---
```
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/libgcobol/xmlparse.cc:585:42:
error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to
‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
585 | xmlErrorPtr msg = xmlCtxtGetLastError(nullptr);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
| |
| const xmlError* {aka const
_xmlError*}
```
This is with libxml2-2.15.0.