auriamg / stk-code

The code base of supertuxkart
Other
0 stars 0 forks source link

clang compilation error #938

Closed auriamg closed 10 years ago

auriamg commented 10 years ago
/Users/max/supertuxkart/src/states_screens/offline_kart_selection.cpp:3:1: error:
      explicit specialization of 'singleton' after instantiation
DEFINE_SCREEN_SINGLETON( OfflineKartSelectionScreen );
^
/Users/max/supertuxkart/src/guiengine/screen.hpp:52:68: note:
      expanded from macro 'DEFINE_SCREEN_SINGLETON'
    template<> ClassName* GUIEngine::ScreenSingleton< ClassName >::singleton = NULL
                                                                   ^
/Users/max/supertuxkart/src/states_screens/offline_kart_selection.hpp:15:42: note:
      implicit instantiation first required here
        static bool isRunning() { return singleton!=NULL; }
                                         ^