Project

General

Profile

Actions

Bug #1094

closed

Add support for compiling with latest libxml2 releases (>= 2.12.x)

Added by Jörg Riesmeier over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Library and Apps
Target version:
Start date:
2023-12-08
Due date:
% Done:

100%

Estimated time:
2:00 h
Module:
dcmdata, dcmsr
Operating System:
Compiler:

Description

GitHub user "kloczek" reported that DCMTK does not compile with the latest libxml2 releases, e.g. version 2.12.x:

https://github.com/DCMTK/dcmtk/commit/1549d8ccccadad9ddd8a2bf75ff31eb554ee9dde#comments

This seems to be a know issue of libxml2 version 2.12.x (see numerous reports on the Internet).

Actions #1

Updated by Jörg Riesmeier over 1 year ago

  • Category changed from Library to Library and Apps
  • Module set to dcmdata, dcmsr
Actions #2

Updated by Marco Eichelberg over 1 year ago

An explicit #include <libxml/xmlsave.h> in xml2dcm.cc would be a good start.

Actions #3

Updated by Jörg Riesmeier over 1 year ago

  • Target version changed from 3.7.1+ to 3.6.9
Actions #4

Updated by Marco Eichelberg over 1 year ago

libxml2 2.12.5 on OpenBSD does not report any compiler error, but issues warnings about the following APIs being deprecated:
  • xmlSubstituteEntitiesDefault
  • xmlLineNumbersDefault
  • xmlKeepBlanksDefault
  • xmlGetWarningsDefaultValue
Actions #5

Updated by Jörg Riesmeier over 1 year ago

  • Status changed from New to Closed

Fixed with commit bdb40e6ef.

Actions #6

Updated by Jörg Riesmeier over 1 year ago

  • % Done changed from 0 to 100
  • Estimated time set to 2:00 h
Actions

Also available in: Atom PDF