the header file mmsx.h uses reserved keyword "this" as variable name

Bug #531326 reported by hydro
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmms
Fix Released
Undecided
Unassigned

Bug Description

I try to compile libmediainfo for Arch Linux
http://aur.archlinux.org/packages.php?ID=22150
To enable support for mms I modified the PKGBUILD:

./configure --prefix=/usr --enable-shared --with-libcurl --with-libmms

but compilation fails:

In file included from ../../../Source/MediaInfo/Reader/Reader_libmms.cpp:41:
/usr/include/libmms/mmsx.h:58: Fehler: expected »,« or »...« before »this«
/usr/include/libmms/mmsx.h:60: Fehler: expected »,« or »...« before »this«
/usr/include/libmms/mmsx.h:62: Fehler: expected »,« or »...« before »this«

Replacing *this with *instance in mmsx.h solves the problem.
See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493735

hydro (hydro)
description: updated
Revision history for this message
Hans de Goede (j-w-r-degoede) wrote :

Note: moving to launchpad did not completely play out as planned, as the current only active developer for this projects (me) prefers git over bzr libmms has moved back to sf.net.

This is fixed in the latest upstream release:
http://downloads.sourceforge.net/project/libmms/libmms/0.6/libmms-0.6.tar.gz

Closing this bug.

Changed in libmms:
status: New → Fix Released
Revision history for this message
hydro (hydro) wrote :

Bug was not fixed, mmsx.h was not changed between version 0.5 and 0.6, patch is still required.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.