← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-qa #4979

 

See <http://ci.kicad-pcb.org/job/kicad-qa/4979/display/redirect?page=changes>

Changes:

[Maciej Suminski] Set the screen pointer to null before deleting the associated items

[Maciej Suminski] Fixed memory leaks

------------------------------------------
[...truncated 70.39 KB...]
     BOARD* board = getModel<BOARD>();
            ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::TrackWidthDec(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:369:12: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     BOARD* board = getModel<BOARD>();
            ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::ViaSizeInc(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:386:12: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     BOARD* board = getModel<BOARD>();
            ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::ViaSizeDec(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:403:12: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     BOARD* board = getModel<BOARD>();
            ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::PlaceModule(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:420:13: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
     MODULE* module = aEvent.Parameter<MODULE*>();
             ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:421:27: warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW_CONTROLS* controls = getViewControls();
                           ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:423:16: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     SELECTION& selection = selTool->GetSelection();
                ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::modifyLockSelected(PCB_EDITOR_CONTROL::MODIFY_MODE)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:542:22: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     const SELECTION& selection = selTool->GetSelection();
                      ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::PlaceTarget(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:584:18: warning: declaration of ‘view’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW* view = getView();
                  ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:585:27: warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW_CONTROLS* controls = getViewControls();
                           ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:586:12: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     BOARD* board = getModel<BOARD>();
            ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::ZoneMerge(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:710:22: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     const SELECTION& selection = m_toolMgr->GetTool<SELECTION_TOOL>()->GetSelection();
                      ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:711:12: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     BOARD* board = getModel<BOARD>();
            ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::ZoneDuplicate(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:769:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     const auto& selection = selTool->GetSelection();
                 ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::CrossProbePcbToSch(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:826:22: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     const SELECTION& selection = selTool->GetSelection();
                      ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::ClearHighlight(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:1038:10: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
     auto frame = static_cast<PCB_EDIT_FRAME*>( m_toolMgr->GetEditFrame() );
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:1039:10: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     auto board = static_cast<BOARD*>( m_toolMgr->GetModel() );
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::ShowLocalRatsnest(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:1121:10: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     auto board = getModel<BOARD>();
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::UpdateSelectionRatsnest(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:1145:11: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     auto& selection = selectionTool->GetSelection();
           ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘void PCB_EDITOR_CONTROL::calculateSelectionRatsnest()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:1198:11: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     auto& selection = selectionTool->GetSelection();
           ^
[ 95%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/pcbnew_control.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_tool.cpp>: In member function ‘void PCB_TOOL::doInteractiveItemPlacement(INTERACTIVE_PLACER_BASE*, const wxString&, int)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_tool.cpp>:127:26: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
                     auto module = dyn_cast<MODULE*>( newItem.get() );
                          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_tool.cpp>:142:26: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
                     auto module = dyn_cast<MODULE*>( newItem.get() );
                          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_tool.cpp>: In member function ‘const SELECTION& PCB_TOOL::selection() const’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_tool.cpp>:248:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     const auto& selection = selTool->GetSelection();
                 ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_tool.cpp>: In member function ‘SELECTION& PCB_TOOL::selection()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_tool.cpp>:255:11: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     auto& selection = selTool->GetSelection();
           ^
[ 95%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/picker_tool.cpp.o
[ 95%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/placement_tool.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/point_editor.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>: In member function ‘int PCBNEW_CONTROL::PadDisplayMode(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>:267:15: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
     for( auto module : board()->Modules() ) // fixme: move to PCB_VIEW
               ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>: In member function ‘int PCBNEW_CONTROL::ModuleEdgeOutlines(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>:323:15: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
     for( auto module : board()->Modules() )
               ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>: In member function ‘int PCBNEW_CONTROL::ModuleTextOutlines(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>:345:15: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
     for( auto module : board()->Modules() )
               ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>: In member function ‘int PCBNEW_CONTROL::placeBoardItems(std::vector<BOARD_ITEM*>&, bool)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>:871:16: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     SELECTION& selection = selectionTool->GetSelection();
                ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>: In member function ‘int PCBNEW_CONTROL::AppendBoard(PLUGIN&, wxString&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>:913:15: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
     for( auto module : brd->Modules() )
               ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/picker_tool.cpp>: In member function ‘int PICKER_TOOL::Main(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/picker_tool.cpp>:45:27: warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW_CONTROLS* controls = getViewControls();
                           ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/picker_tool.cpp>: In member function ‘void PICKER_TOOL::setControls()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/picker_tool.cpp>:156:27: warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW_CONTROLS* controls = getViewControls();
                           ^
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/position_relative_tool.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/selection.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>: In member function ‘int POINT_EDITOR::OnSelectionChange(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>:299:22: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     const SELECTION& selection = m_selectionTool->GetSelection();
                      ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>:306:27: warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW_CONTROLS* controls = getViewControls();
                           ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>:307:18: warning: declaration of ‘view’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW* view = getView();
                  ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>: In member function ‘void POINT_EDITOR::setEditedPoint(EDIT_POINT*)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>:780:27: warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW_CONTROLS* controls = getViewControls();
                           ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>: In member function ‘int POINT_EDITOR::addCorner(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>:969:26: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
     PCB_BASE_EDIT_FRAME* frame = getEditFrame<PCB_BASE_EDIT_FRAME>();
                          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>: In member function ‘int POINT_EDITOR::removeCorner(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/point_editor.cpp>:1112:21: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
     PCB_BASE_FRAME* frame = getEditFrame<PCB_BASE_FRAME>();
                     ^
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/selection_tool.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/tool_event_utils.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/position_relative_tool.cpp>: In member function ‘int POSITION_RELATIVE_TOOL::PositionRelative(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/position_relative_tool.cpp>:84:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     const auto& selection = m_selectionTool->RequestSelection(
                 ^
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/tools_common.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/zone_create_helper.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tools/zone_filler_tool.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘virtual bool SELECTION_TOOL::Init()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:215:10: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
     auto frame = getEditFrame<PCB_BASE_FRAME>();
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘bool SELECTION_TOOL::selectMultiple()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:600:18: warning: declaration of ‘view’ shadows a member of 'this' [-Wshadow]
     KIGFX::VIEW* view = getView();
                  ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘int SELECTION_TOOL::expandSelectedConnection(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:908:10: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     auto selection = m_selection.GetItems();
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘int SELECTION_TOOL::selectCopper(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:966:10: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     auto selection  = m_selection.GetItems();
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘int SELECTION_TOOL::selectNet(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1030:10: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     auto selection = m_selection.GetItems();
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘void SELECTION_TOOL::zoomFitSelection()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1163:10: warning: declaration of ‘canvas’ shadows a member of 'this' [-Wshadow]
     auto canvas = m_frame->GetGalCanvas();
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1164:10: warning: declaration of ‘view’ shadows a member of 'this' [-Wshadow]
     auto view = getView();
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘int SELECTION_TOOL::findMove(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1261:13: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
     MODULE* module = m_frame->GetFootprintFromBoardByReference();
             ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘int SELECTION_TOOL::filterSelection(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1383:17: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     const auto& board = *getModel<BOARD>();
                 ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1386:10: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
     auto selection = m_selection.GetItems();
          ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘BOARD_ITEM* SELECTION_TOOL::pickSmallestComponent(GENERAL_COLLECTOR*)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1530:17: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
         MODULE* module = (MODULE*) ( *aCollector )[i];
                 ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘bool SELECTION_TOOL::selectable(const BOARD_ITEM*, bool) const’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1653:17: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
         MODULE* module = const_cast<MODULE*>( static_cast<const MODULE*>( aItem ) );
                 ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>: In member function ‘void SELECTION_TOOL::select(BOARD_ITEM*)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/selection_tool.cpp>:1782:17: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
         MODULE* module = static_cast<MODULE*>( aItem->GetParent() );
                 ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/zone_filler_tool.cpp>: In member function ‘int ZONE_FILLER_TOOL::SegzoneDeleteFill(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/zone_filler_tool.cpp>:163:12: warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
     BOARD* board = (BOARD*) m_toolMgr->GetModel();
            ^
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/footprint_preview_panel.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/footprint_tree_pane.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/__/common/dialogs/dialog_page_settings.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/__/common/base_units.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/dialogs/dialog_scripting.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/swig/pcbnew_action_plugins.cpp.o
[ 97%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/swig/pcbnew_footprint_wizards.cpp.o
[ 98%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/swig/pcbnew_scripting_helpers.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>: In function ‘PyObject* _wrap_GetNewConfig(PyObject*, PyObject*)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:23155:132: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = wxConfigBase; _Dp = std::default_delete<wxConfigBase>]’
   resultobj = SWIG_NewPointerObj((new std::unique_ptr< wxConfigBase >(static_cast< const std::unique_ptr< wxConfigBase >& >(result))), SWIGTYPE_p_std__unique_ptrT_wxConfigBase_t, SWIG_POINTER_OWN |  0 );
                                                                                                                                    ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:1171:89: note: in definition of macro ‘SWIG_NewPointerObj’
 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
                                                                                         ^
In file included from /usr/include/c++/4.9/memory:81:0,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/macros.h>:37,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:5126:
/usr/include/c++/4.9/bits/unique_ptr.h:356:7: note: declared here
       unique_ptr(const unique_ptr&) = delete;
       ^
[ 98%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/swig/python_scripting.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>: In instantiation of ‘SwigValueWrapper<T>& SwigValueWrapper<T>::operator=(const T&) [with T = std::unique_ptr<wxConfigBase>]’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:23154:10:   required from here
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:28:73: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = wxConfigBase; _Dp = std::default_delete<wxConfigBase>]’
   SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
                                                                         ^
In file included from /usr/include/c++/4.9/memory:81:0,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/macros.h>:37,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:5126:
/usr/include/c++/4.9/bits/unique_ptr.h:356:7: note: declared here
       unique_ptr(const unique_ptr&) = delete;
       ^
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/build.make:6156: recipe for target 'pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o' failed
make[3]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o] Error 1
CMakeFiles/Makefile2:1524: recipe for target 'pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all' failed
make[2]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all] Error 2
CMakeFiles/Makefile2:1620: recipe for target 'pcbnew/CMakeFiles/pcbnew_python_module.dir/rule' failed
make[1]: *** [pcbnew/CMakeFiles/pcbnew_python_module.dir/rule] Error 2
Makefile:636: recipe for target 'pcbnew_python_module' failed
make: *** [pcbnew_python_module] Error 2
Build step 'Execute shell' marked build as failure


Follow ups