[vdr] setup plugin not compiling anymore under 1.7.12
martinez at embl.de
martinez at embl.de
Sat Feb 6 20:35:00 CET 2010
Hi,
The setup plugin no longer compiles under 1.7.12 (it did in 1.7.11)
The error message is:
In file included from setupsystemmenu.c:33:
../../../menuorgpatch.h: At global scope:
../../../menuorgpatch.h:31: error: ISO C++ forbids declaration of
‘IMainMenuItemsProvider’ with no type
../../../menuorgpatch.h:31: error: expected ‘;’ before ‘*’ token
../../../menuorgpatch.h:34: error: ISO C++ forbids declaration of
‘IMainMenuItemsProvider’ with no type
../../../menuorgpatch.h:34: error: expected ‘;’ before ‘*’ token
--BEGIN CODE--
class MenuOrgPatch
{
private:
static IMainMenuItemsProvider* _mainMenuItemsProvider;
private:
static IMainMenuItemsProvider* MainMenuItemsProvider()
{
if (!_mainMenuItemsProvider)
{
IMainMenuItemsProvider* mainMenuItemsProvider;
if
(cPluginManager::CallFirstService(MENU_ITEMS_PROVIDER_SERVICE_ID,
&mainMenuItemsProvider))
{
_mainMenuItemsProvider = mainMenuItemsProvider;
}
}
return _mainMenuItemsProvider;
}
--END CODE--
It must be a small thing because using the renaming library binary
compiled with 1.7.11 seems to work.
Anybody could point out the correct syntax?
More information about the vdr
mailing list