sbmlteam / libsbml

LibSBML is a native library for reading, writing and manipulating files and data streams containing the Systems Biology Markup Language (SBML). It offers language bindings for C, C++, C#, Java, JavaScript, MATLAB, Perl, PHP, Python, R and Ruby.
https://sbml.org/software/libsbml
Other
38 stars 28 forks source link

FIX: support compilation with libxml2 2.12.0 #358

Closed mtasaka closed 7 months ago

mtasaka commented 7 months ago

Description

libxml2 2.12.0 now makes xmlGetLastError() return const pointer: https://gitlab.gnome.org/GNOME/libxml2/-/commit/45470611b047db78106dcb2fdbd4164163c15ab7

Fix variable type using xmlGetLastError() as such.

Closes #357 .

Motivation and Context

Types of changes

Checklist:

Testing