[DVDnav-discuss] [PATCH] fix C++ compatibility broken in r1208

Erik Hovland erik at hovland.org
Sat Feb 25 21:26:36 CET 2012


Thanks, this patch is in my tree:
https://github.com/microe/libdvdnav/commits/master

I will commit it along w/ the other patches there in about a month
if someone doesn't get to it sooner.

E

On Sat, Feb 25, 2012 at 12:17 PM, Anssi Hannula <anssi.hannula at iki.fi> wrote:
> Revision 1208 ("Add dvdnav_program_play & dvdnav_current_title_program")
> added dvdnav_program_play function to dvdnav.h. However, unlike the
> other API functions, its first parameter is named 'this' instead of
> 'self'. 'this' is a C++ keyword and prevents compilation of C++ projects
> using libdvdnav.
>
> Restore C++ compatibility by renaming the parameter to 'self' like in
> the other functions.
>
> --
> Anssi Hannula
>
> _______________________________________________
> DVDnav-discuss mailing list
> DVDnav-discuss at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss



-- 
Erik Hovland
erik at hovland.org
http://hovland.org/


More information about the DVDnav-discuss mailing list