setup plugin not compiling anymore under 1.7.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux