Menu

#239 Not compatible with libxml2-2.12

Bugs
open
nobody
None
5
2025-01-23
2024-03-25
Chris Mayo
No

Needs I think:

--- a/src/wraplibxml.cpp
+++ b/src/wraplibxml.cpp
@@ -706,7 +706,7 @@

 wxString WrapLibxml::getLastError()
 {
-   xmlErrorPtr err = xmlGetLastError();
+   const xmlError *err = xmlGetLastError();

    if ( !err )
        return nonParserError;
@@ -722,7 +722,7 @@

 std::pair<int, int> WrapLibxml::getErrorPosition()
 {
-   xmlErrorPtr err = xmlGetLastError();
+   const xmlError *err = xmlGetLastError();
    if ( !err )
        return std::make_pair ( 1, 1 );

Related

Bugs: #239

Discussion

  • ostroffjh

    ostroffjh - 2024-10-27

    Patch works for me with libxml2 2.13.4-1 on ArchLinux.

     
  • mgscat

    mgscat - 2025-01-09

    Hi there! Do you have any planned release date? Thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.