Opened 11 years ago

Closed 11 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: Analyzed by developer:

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 Changed 11 years ago by diego@…

  • Cc nsabbi@… added
  • op_sys changed from Linux to All
  • Status changed from new to assigned

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

comment:2 Changed 11 years ago by nsabbi@…

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed last week renaming "this" to "self"

Note: See TracTickets for help on using tickets.