diff --git a/indra/newview/rlvextensions.cpp b/indra/newview/rlvextensions.cpp index c1308b50921d57c73ba1499466c80c7eba8e42e0..dc3d188679cb93b94708bfd633e5a3de1a46f86c 100644 --- a/indra/newview/rlvextensions.cpp +++ b/indra/newview/rlvextensions.cpp @@ -160,7 +160,7 @@ class RlvWindLight : public LLSingleton<RlvWindLight> { friend class LLSingleton<RlvWindLight>; public: - RlvWindLight::RlvWindLight(); + RlvWindLight(); std::string getValue(const std::string& strSetting, bool& fError); bool setValue(const std::string& strRlvName, const std::string& strValue); diff --git a/indra/newview/rlvhandler.h b/indra/newview/rlvhandler.h index ecc30ce1c66d3cad97a3f6ec05616d8ebe1efc68..d8dc58b6f192f2901586531aeccc898d6e991be0 100644 --- a/indra/newview/rlvhandler.h +++ b/indra/newview/rlvhandler.h @@ -20,6 +20,9 @@ #include <stack> #include "rlvcommon.h" +#if LL_GNUC +#include "rlvhelper.h" // Needed to make GCC happy +#endif // LL_GNUC // ============================================================================ diff --git a/indra/newview/rlvui.cpp b/indra/newview/rlvui.cpp index c0d472540ce8c1b5f320731a99b94b83c02c0c97..b25f0aaad350e6f4feedcd1a9af8323cae01144c 100644 --- a/indra/newview/rlvui.cpp +++ b/indra/newview/rlvui.cpp @@ -155,8 +155,8 @@ void RlvUIEnabler::onToggleMovement() void RlvUIEnabler::onToggleSetDebug() { bool fEnable = !gRlvHandler.hasBehaviour(RLV_BHVR_SETDEBUG); - for (std::map<std::string, S16>::const_iterator itSetting = RlvExtGetSet::m_DbgAllowed.cbegin(); - itSetting != RlvExtGetSet::m_DbgAllowed.cend(); ++itSetting) + for (std::map<std::string, S16>::const_iterator itSetting = RlvExtGetSet::m_DbgAllowed.begin(); + itSetting != RlvExtGetSet::m_DbgAllowed.end(); ++itSetting) { if (itSetting->second & RlvExtGetSet::DBG_WRITE) gSavedSettings.getControl(itSetting->first)->setHiddenFromSettingsEditor(!fEnable);