diff -ru widelands-build20.orig/src/editor/ui_menus/categorized_item_selection_menu.h widelands-build20/src/editor/ui_menus/categorized_item_selection_menu.h --- widelands-build20.orig/src/editor/ui_menus/categorized_item_selection_menu.h 2020-06-12 17:19:17.401824837 +0200 +++ widelands-build20/src/editor/ui_menus/categorized_item_selection_menu.h 2020-06-12 17:19:45.388460444 +0200 @@ -124,7 +124,7 @@ UI::Checkbox* cb = create_checkbox(horizontal, descriptions_.get(i)); cb->set_state(tool_->is_enabled(i)); - cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, _1)); + cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, boost::placeholders::_1)); checkboxes_[i] = cb; horizontal->add(cb); horizontal->add_space(kSpacing); diff -ru widelands-build20.orig/src/ui_basic/box.cc widelands-build20/src/ui_basic/box.cc --- widelands-build20.orig/src/ui_basic/box.cc 2020-06-12 17:19:17.441824793 +0200 +++ widelands-build20/src/ui_basic/box.cc 2020-06-12 17:20:08.218434794 +0200 @@ -104,7 +104,7 @@ int maxbreadth = mindesiredbreadth_; for (uint32_t idx = 0; idx < items_.size(); ++idx) { - int depth, breadth = 0; + int depth = 0, breadth = 0; get_item_desired_size(idx, &depth, &breadth); totaldepth += depth;