FS#18545 - [libmms] Incorrect use of "this" keyword in mmsx.h

Attached to Project: Arch Linux
Opened by hydro (hydro) - Wednesday, 03 March 2010, 13:18 GMT
Last edited by Jan de Groot (JGC) - Saturday, 06 March 2010, 21:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
/usr/include/libmms/mmsx.h uses reserved keyword "this" as variable name.
As a result compiling libmediainfo with support for mms 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«

Applying the attached patch to libmms is required.

Bug was also reported upstream:
https://bugs.launchpad.net/libmms/+bug/531326

Additional info:
gcc 4.4.3-1
libmms 0.5-1
libmediainfo 0.7.28-1

Steps to reproduce:
Try to install libmediainfo from AUR with extended configure options:
./configure --prefix=/usr --enable-shared --with-libcurl --with-libmms
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 06 March 2010, 21:14 GMT
Reason for closing:  Fixed

Loading...