Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2011, 6:59:50 PM (14 years ago)
Author:
rgrieder
Message:

Fixed GCC build and warnings.

Location:
code/branches/unity_build/src/libraries
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/libraries/core/GUIManager.h

    r8687 r8689  
    115115
    116116        //! Creates a new InputState to be used with a GUI Sheet
    117         const std::string& createInputState(const std::string& name, tribool showCursor = true, tribool useKeyboard = true, bool bBlockJoyStick = false); // tolua_export
     117        const std::string& createInputState(const std::string& name, tribool showCursor = tribool(true), tribool useKeyboard = tribool(true), bool bBlockJoyStick = false); // tolua_export
    118118        LuaState* getLuaState(void)
    119119            { return this->luaState_; }
  • code/branches/unity_build/src/libraries/util/tribool.h

    r8687 r8689  
    2727 * \brief Keyword for the dontcare tribool value
    2828 */
    29 const dontcare_keyword_t dontcare;
     29const dontcare_keyword_t dontcare = dontcare_keyword_t();
    3030
    3131/**
Note: See TracChangeset for help on using the changeset viewer.