kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32315
Build failed in Jenkins: kicad-qa #3137
See <http://ci.kicad-pcb.org/job/kicad-qa/3137/display/redirect?page=changes>
Changes:
[Maciej Suminski] fix double free and memory leak in SHAPE_POLY_SET
------------------------------------------
[...truncated 40.97 KB...]
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:838:10: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
auto selection = m_selectionTool->RequestSelection( SELECTION_DELETABLE | SELECTION_SANITIZE_PADS );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In member function ‘int EDIT_TOOL::MoveExact(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:875:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
const auto& selection = m_selectionTool->RequestSelection();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In member function ‘int EDIT_TOOL::Duplicate(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:930:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
const auto& selection = m_selectionTool->RequestSelection( SELECTION_DELETABLE | SELECTION_SANITIZE_PADS );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In member function ‘int EDIT_TOOL::CreateArray(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1074:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
const auto& selection = m_selectionTool->RequestSelection();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In member function ‘int EDIT_TOOL::ExchangeFootprints(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1090:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
const auto& selection = m_selectionTool->RequestSelection();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In member function ‘int EDIT_TOOL::MeasureTool(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1122:11: warning: declaration of ‘view’ shadows a member of 'this' [-Wshadow]
auto& view = *getView();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1123:11: warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
auto& controls = *getViewControls();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In member function ‘int EDIT_TOOL::editFootprintInFpEditor(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1266:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
const auto& selection = m_selectionTool->RequestSelection();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In member function ‘int EDIT_TOOL::copyToClipboard(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1331:15: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
SELECTION selection = m_selectionTool->RequestSelection();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In member function ‘T* EDIT_TOOL::uniqueSelected()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1362:11: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
auto& selection = m_selectionTool->RequestSelection( SELECTION_DEFAULT );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In instantiation of ‘T* EDIT_TOOL::uniqueSelected() [with T = TRACK]’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:336:42: required from here
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1362:76: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
auto& selection = m_selectionTool->RequestSelection( SELECTION_DEFAULT );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>: In instantiation of ‘T* EDIT_TOOL::uniqueSelected() [with T = VIA]’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:337:36: required from here
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/edit_tool.cpp>:1362:76: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/pcb_editor_control.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>:87:17: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
const auto& selection = m_selectionTool->RequestSelection();
^
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/microwave_tool.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>:289: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::PanControl(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>:546: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/pcbnew_control.cpp>: In member function ‘int PCBNEW_CONTROL::placeBoardItems(BOARD*)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcbnew_control.cpp>:838:15: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
for( auto module : aBoard->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>:875: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>:917:15: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
for( auto module : brd->Modules() )
^
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/module_editor_tools.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>: In member function ‘int PCB_EDITOR_CONTROL::TrackWidthInc(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:315: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::TrackWidthDec(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:332: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>:349: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>:366: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>:383: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>:384: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>:385: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>: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::modifyLockSelected(PCB_EDITOR_CONTROL::MODIFY_MODE)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:527: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>:568: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>:569: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>:570: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>:687: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>:688: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>:753: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>:822: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::UpdateSelectionRatsnest(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pcb_editor_control.cpp>:1037: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>:1090:11: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
auto& selection = selectionTool->GetSelection();
^
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/placement_tool.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/microwave_tool.cpp>: In member function ‘int MICROWAVE_TOOL::addMicrowaveFootprint(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/microwave_tool.cpp>:188:11: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
auto& frame = *getEditFrame<PCB_EDIT_FRAME>();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/microwave_tool.cpp>: In member function ‘void MICROWAVE_TOOL::createInductorBetween(const VECTOR2I&, const VECTOR2I&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/microwave_tool.cpp>:239:11: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
auto& frame = *getEditFrame<PCB_EDIT_FRAME>();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/microwave_tool.cpp>: In member function ‘int MICROWAVE_TOOL::drawMicrowaveInductor(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/microwave_tool.cpp>:296: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/microwave_tool.cpp>:297: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/microwave_tool.cpp>:298:11: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
auto& frame = *getEditFrame<PCB_EDIT_FRAME>();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/module_editor_tools.cpp>: In member function ‘int MODULE_EDITOR_TOOLS::EnumeratePads(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/module_editor_tools.cpp>:166:18: warning: declaration of ‘view’ shadows a member of 'this' [-Wshadow]
KIGFX::VIEW* view = m_toolMgr->GetView();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/module_editor_tools.cpp>: In member function ‘int MODULE_EDITOR_TOOLS::ModuleTextOutlines(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/module_editor_tools.cpp>:277: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/module_editor_tools.cpp>:292: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/module_editor_tools.cpp>: In member function ‘int MODULE_EDITOR_TOOLS::ModuleEdgeOutlines(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/module_editor_tools.cpp>:312: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/module_editor_tools.cpp>:325: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/module_editor_tools.cpp>: In member function ‘int MODULE_EDITOR_TOOLS::ExplodePadToShapes(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/module_editor_tools.cpp>:341:16: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
SELECTION& selection = m_toolMgr->GetTool<SELECTION_TOOL>()->GetSelection();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/module_editor_tools.cpp>: In member function ‘int MODULE_EDITOR_TOOLS::CreatePadFromShapes(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/module_editor_tools.cpp>:382:16: warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
SELECTION& selection = m_toolMgr->GetTool<SELECTION_TOOL>()->GetSelection();
^
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/grid_helper.cpp.o
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/pad_tool.cpp.o
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/picker_tool.cpp.o
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/zone_create_helper.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pad_tool.cpp>: In member function ‘bool PAD_TOOL::haveFootprints()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pad_tool.cpp>:166:11: 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/pad_tool.cpp>: In member function ‘int PAD_TOOL::applyPadSettings(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pad_tool.cpp>:206: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/pad_tool.cpp>:208:11: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
auto& frame = *getEditFrame<PCB_EDIT_FRAME>();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pad_tool.cpp>: In member function ‘int PAD_TOOL::copyPadSettings(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pad_tool.cpp>:238: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/pad_tool.cpp>:240:11: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
auto& frame = *getEditFrame<PCB_EDIT_FRAME>();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pad_tool.cpp>: In member function ‘int PAD_TOOL::pushPadSettings(const TOOL_EVENT&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pad_tool.cpp>:318: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/pad_tool.cpp>:320:11: warning: declaration of ‘frame’ shadows a member of 'this' [-Wshadow]
auto& frame = *getEditFrame<PCB_EDIT_FRAME>();
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/tools/pad_tool.cpp>:350:13: warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
MODULE* module = srcPad->GetParent();
^
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/tools_common.cpp.o
<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>:121:27: warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
KIGFX::VIEW_CONTROLS* controls = getViewControls();
^
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/size_menu.cpp.o
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/selection.cpp.o
[ 91%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/tools/zone_filler_tool.cpp.o
[ 92%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/footprint_preview_panel.cpp.o
[ 92%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/pcbnew_wrap.cxx.o
[ 92%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/swig/pcbnew_scripting_helpers.cpp.o
[ 92%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/swig/pcbnew_action_plugins.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>: In function ‘PyObject* _wrap_UTF8___iadd____SWIG_3(PyObject*, PyObject*)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:45154:42: error: ‘SWIG_AsVal_wchar_t’ was not declared in this scope
ecode2 = SWIG_AsVal_wchar_t(obj1, &val2);
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>: In function ‘PyObject* _wrap_UTF8___iadd__(PyObject*, PyObject*)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:45197:51: error: ‘SWIG_AsVal_wchar_t’ was not declared in this scope
int res = SWIG_AsVal_wchar_t(argv[1], NULL);
^
pcbnew/CMakeFiles/pcbnew_kiface.dir/build.make:5932: recipe for target 'pcbnew/CMakeFiles/pcbnew_kiface.dir/pcbnew_wrap.cxx.o' failed
make[3]: *** [pcbnew/CMakeFiles/pcbnew_kiface.dir/pcbnew_wrap.cxx.o] Error 1
CMakeFiles/Makefile2:1367: recipe for target 'pcbnew/CMakeFiles/pcbnew_kiface.dir/all' failed
make[2]: *** [pcbnew/CMakeFiles/pcbnew_kiface.dir/all] Error 2
CMakeFiles/Makefile2:1414: recipe for target 'pcbnew/CMakeFiles/pcbnew_python_module.dir/rule' failed
make[1]: *** [pcbnew/CMakeFiles/pcbnew_python_module.dir/rule] Error 2
Makefile:574: recipe for target 'pcbnew_python_module' failed
make: *** [pcbnew_python_module] Error 2
Build step 'Execute shell' marked build as failure
Follow ups
References