Opened 16 years ago

Closed 16 years ago

#1076 closed defect (fixed)

libdvdnav: dvdnav.h incompatible with C++

Reported by: goetz.waschk@… Owned by: diego@…
Priority: normal Component: build system
Version: unspecified Severity: normal
Keywords: Cc: nsabbi@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

This is a bug for libdvdnav 4.1.2:
$ cat testi.c
#include <inttypes.h>
#include <dvdnav/dvdnav.h>
$ g++ -DSTDC_LIMIT_MACROS -c -o test.o testi.c
In file included from testi.c:2:
/usr/include/dvdnav/dvdnav.h:293: error: expected &#8216;,&#8217; or &#8216;...&#8217; before
&#8216;this&#8217;

This 'this' conflict didn't exist in previous versions.

This problem affects at least vdr-plugin-dvd.

Change History (2)

comment:1 by diego@…, 16 years ago

Cc: nsabbi@… added
op_sys: LinuxAll
Status: newassigned

I guess you are missing some extern C whatever declarations...

comment:2 by nsabbi@…, 16 years ago

Resolution: fixed
Status: assignedclosed

fixed last week renaming "this" to "self"

Note: See TracTickets for help on using tickets.