Bug#869152: lv2-dev: type conflict of <X11/Xlib.h> and <lv2.h>

Joël Krähemann jkraehemann at gmail.com
Fri Jul 21 00:12:21 UTC 2017


Package: lv2-dev
Version: 1.14.0~dfsg1-1
Severity: important

Dear Maintainer,

As doing #include <X11/Xlib.h> before <lv2.h> I get following compiler errors:

/usr/lib/lv2/atom.lv2/forge.h:114:11: error: two or more data types in declaration specifiers
LV2_URID Bool;
^
/usr/lib/lv2/atom.lv2/forge.h: In function 'lv2_atom_forge_init':
/usr/lib/lv2/atom.lv2/forge.h:147:9: error: expected identifier before 'int'
forge->Bool     = map->map(map->handle, LV2_ATOM__Bool);
^
/usr/lib/lv2/atom.lv2/forge.h: In function 'lv2_atom_forge_bool':
/usr/lib/lv2/atom.lv2/forge.h:408:54: error: expected identifier before 'int'
const LV2_Atom_Bool a = { { sizeof(int32_t), forge->Bool }, val ? 1 : 0 };
^

The compilation of my program aborted with the above error message. However
as swapping the include order, it compiles.

I was expecting no conflict in the header files.

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

Kernel: Linux 4.9.0-1-rt-amd64 (SMP w/24 CPU cores; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list