Chris Johns created an issue: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/193

Assignee: Chris Johns

## Summary

Building `expat` fails with:

```
xmlparse.c:72:4: error: XML_GE (for general entities) must be defined, 
non-empty, either 1 or 0 (0 to disable, 1 to enable; 1 is a common default)
   72 | #  error XML_GE (for general entities) must be defined, non-empty, 
either 1 or 0 (0 to disable, 1 to enable; 1 is a common default)
      |    ^
xmlparse.c:76:4: error: Either undefine XML_DTD or define XML_GE to 1.
   76 | #  error Either undefine XML_DTD or define XML_GE to 1.
      |    ^
xmlparse.c:5042:14: warning: call to undeclared function 'storeEntityValue'; 
ISO C99 and later do not support implicit function declarations 
[-Wimplicit-function-declaration]
 5042 |       return storeEntityValue(parser, parser->m_encoding, s, end,
      |              ^
xmlparse.c:5124:11: warning: call to undeclared function 
'accountingDiffTolerated'; ISO C99 and later do not support implicit function 
declarations [-Wimplicit-function-declaration]
 5124 |     if (! accountingDiffTolerated(parser, tok, s, next, __LINE__,
      |           ^
xmlparse.c:5126:7: warning: call to undeclared function 'accountingOnAbort'; 
ISO C99 and later do not support implicit function declarations 
[-Wimplicit-function-declaration]
 5126 |       accountingOnAbort(parser);
      |       ^
 ...
```

Updating `expat` to versio 2.8.1 fixes the problem

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/193
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to