Hi, I can't build the plugin.
menu.c: In member function ‘int cNavigationMenu::GoToURL(const char*, eLinkType, const char*)’: menu.c:497: warning: deprecated conversion from string constant to ‘char*’ In file included from download.c:18: /usr/include/libmms/mmsx.h:58: error: expected ‘,’ or ‘...’ before ‘this’ /usr/include/libmms/mmsx.h:60: error: expected ‘,’ or ‘...’ before ‘this’ /usr/include/libmms/mmsx.h:62: error: expected ‘,’ or ‘...’ before ‘this’ download.c: In static member function ‘static cMemoryBuffer* cCurlDownloader::DownloadToMemoryString(const char*)’: download.c:152: warning: deprecated conversion from string constant to ‘char*’ make: *** [download.o] Fehler 1
What can I do? Thanks Halim
Am Mittwoch 20 August 2008 schrieb Halim Sahin:
/usr/include/libmms/mmsx.h:58: error: expected ‘,’ or ‘...’ before ‘this’
It is a bug in the libmms-dev package in Debian. See:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493735
With the attached diff for libmms-dev in the bug report the plugin compiles.
Regards Michi
Halim Sahin wrote:
Hi, I can't build the plugin.
menu.c: In member function ‘int cNavigationMenu::GoToURL(const char*, eLinkType, const char*)’: menu.c:497: warning: deprecated conversion from string constant to ‘char*’ In file included from download.c:18: /usr/include/libmms/mmsx.h:58: error: expected ‘,’ or ‘...’ before ‘this’ /usr/include/libmms/mmsx.h:60: error: expected ‘,’ or ‘...’ before ‘this’ /usr/include/libmms/mmsx.h:62: error: expected ‘,’ or ‘...’ before ‘this’
This is a bug in libmms headers. You can apply the attached patch to /usr/include/libmms/mmsx.h. Or, if you don't want to edit system files, replace every occurrence of the string "mmsx" with "mms" in download.c in the plugin sources. In the latter case the plugin loses the ability to automatically try mmsh protocol if mms fails.