Andrea a écrit :
> Hi,
> 
> either I am 100% stupid or "this" is not valid in c++ as a variable name.
> 
> this is line 293 of dvdnav.h
> 
> uint32_t dvdnav_describe_title_chapters(dvdnav_t *this, int32_t title, 
> uint64_t **times, uint64_t 
> *duration);
> 
> it is the only "this" in this file, all other arguments are called "self".
> g++ 4.3.0 does not compile it
> 
> /usr/include/dvdnav/dvdnav.h:293: error: expected ‘,’ or ‘...’ before ‘this’
> 
> am I wrong?

You're right.
I've been reported that VDR (which is C++) needs a patch for that to fix 
this exact problem.

Ben
_______________________________________________
DVDnav-discuss mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss

Reply via email to