Skip to content
New issue

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

warning: 'xmlSAXUserParseFile' is deprecated #140

Open
jakub-id opened this issue Feb 4, 2025 · 0 comments
Open

warning: 'xmlSAXUserParseFile' is deprecated #140

jakub-id opened this issue Feb 4, 2025 · 0 comments
Assignees

Comments

@jakub-id
Copy link
Contributor

jakub-id commented Feb 4, 2025

marcdump.c:195:5: warning: 'xmlSAXUserParseFile' is deprecated [-Wdeprecated-declarations]
  195 |     xmlSAXUserParseFile(sax_ptr, yt, fname);
      |     ^
/opt/homebrew/opt/libxml2/include/libxml2/libxml/parser.h:998:1: note: 'xmlSAXUserParseFile' has been explicitly marked deprecated here
  998 | XML_DEPRECATED
      | ^
/opt/homebrew/opt/libxml2/include/libxml2/libxml/xmlexports.h:69:43: note: expanded from macro 'XML_DEPRECATED'
   69 |     #define XML_DEPRECATED __attribute__((deprecated))
      |                                           ^
gcc -v
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.2.0
Thread model: posix
pkg-config --modversion libxml-2.0
2.13.5
adamdickmeiss added a commit that referenced this issue Feb 5, 2025
yaz-marcdump: use same scheme for parsing MARCXML as MarcXchange.
@adamdickmeiss adamdickmeiss self-assigned this Feb 5, 2025
adamdickmeiss added a commit that referenced this issue Feb 7, 2025
yaz-marcdump: use same scheme for parsing MARCXML as MarcXchange.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants