diff --git a/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp b/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp index cc032b9f5c..9f0bbd01e9 100644 --- a/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp @@ -469,7 +469,7 @@ public: bool FinishMenu(bool force) { - bool stillActive; + bool stillActive = false; if (fMenuPreparedToShow) { stillActive = fRendererSettingsMenu->Finish(fParentLooper, force); diff --git a/src/apps/debugger/value/value_nodes/CompoundValueNode.h b/src/apps/debugger/value/value_nodes/CompoundValueNode.h index 3c556e4611..891a07a22e 100644 --- a/src/apps/debugger/value/value_nodes/CompoundValueNode.h +++ b/src/apps/debugger/value/value_nodes/CompoundValueNode.h @@ -38,6 +38,10 @@ private: class BaseTypeChild; class MemberChild; + // for GCC2 + friend class BaseTypeChild; + friend class MemberChild; + typedef BObjectList ChildList; private: