From dcfccd82d3fc73b8bf5f188c685035416f6cb14f Mon Sep 17 00:00:00 2001 From: Philipp philipp.legrum@uni-ulm.de> Date: Thu, 24 Oct 2019 13:54:41 +0200 Subject: [PATCH] Warn for excessive pads MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.11.0" This is a multi-part message in MIME format. --------------2.11.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit --- pcbnew/board_netlist_updater.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --------------2.11.0 Content-Type: text/x-patch; name="0001-Warn-for-excessive-pads.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Warn-for-excessive-pads.patch" diff --git a/pcbnew/board_netlist_updater.cpp b/pcbnew/board_netlist_updater.cpp index 8803952b4..c51aefc06 100644 --- a/pcbnew/board_netlist_updater.cpp +++ b/pcbnew/board_netlist_updater.cpp @@ -305,7 +305,13 @@ bool BOARD_NETLIST_UPDATER::updateComponentPadConnections( MODULE* aPcbComponent pad->GetName() ); m_reporter->Report( msg, REPORTER::RPT_ACTION ); } - + else // pad has no net + { + msg.Printf( _( "No net for component %s pin %s." ), + aPcbComponent->GetReference(), + pad->GetName() ); + m_reporter->Report( msg, REPORTER::RPT_WARNING); + } if( !m_isDryRun ) { changed = true; --------------2.11.0--