[Debian-med-packaging] Bug#628168: libdcmtk2-dev: OFFIS_DCMTK_VERSION_NUMBER is no longer a number

Michael Hanke mih at debian.org
Fri May 27 20:03:03 UTC 2011


Package: libdcmtk2-dev
Version: 3.6.0-5
Severity: normal

Hi,

with dcmtk 3.6 the macro OFFIS_DCMTK_VERSION_NUMBER is no longer a
number. It used to be one (dcmtk 3.5) and it was possible to do versions checks
with it, e.g.

#if OFFIS_DCMTK_VERSION_NUMBER > 352

Now it is a string and that results in e.g.:

fileio_dicom.cpp:68:5: error: token ""360"" is not valid in preprocessor expressions

I assume this was an unintentional change, given the presence of both
DCMTK_PACKAGE_VERSION _and_ DCMTK_PACKAGE_VERSION_NUMBER, where the
latter clearly want to be a number and not a string.

Thanks,

Michael


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdcmtk2-dev depends on:
ii  libdcmtk2                     3.6.0-5    The OFFIS DICOM toolkit runtime li

libdcmtk2-dev recommends no packages.

Versions of packages libdcmtk2-dev suggests:
pn  dcmtk-doc                     <none>     (no description available)

-- no debconf information





More information about the Debian-med-packaging mailing list