Package: libmediainfo-dev
Version: 0.7.52-1
Severity: serious

Hello,

currently, if an application relies on the flags returned from pkgconfig
for libmediainfo, the application cannot be linked! This happens because
MediaInfo_Const.h makes use of the _UNICODE definition to create the
type definition for the String class used in the library interfaces.

This trick is ok for Win32 environment but not for Unix where there is
no such convention. Another application doesn't know how libmediainfo
was compiled, and cannot guess.

OTOH that's what pkgconfig is for. libmediainfo.pc should export the
required definition flags for the compiler. Or maybe create a custom
def.var (like MEDIAINFO_UNICODE) in order to avoid interference with
other flags, and MediaInfo_Const.h would contain something like

#if defined(UNICODE) || defined (_UNICODE) || defined (MEDIAINFO_UNICODE)
instead of
#if defined(UNICODE) || defined (_UNICODE).

Regards,
Eduard.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.1 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libmediainfo-dev depends on:
ii  libmediainfo0  0.7.52-1
ii  libzen-dev     0.4.23-3

libmediainfo-dev recommends no packages.

libmediainfo-dev suggests no packages.

-- no debconf information

-- 
* alphascorpii kuckt Sex and the City und fühlt sich befremdet
<alphascorpii> Dann doch lieber Angriff der Killerbienen
<alphascorpii> ... ist ja auch irgendwie das selbe ;)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to