Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
ad557994
Commit
ad557994
authored
Feb 22, 2008
by
f3nix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation errors/warnings when using g++ 4.3 (snapshot).
parent
7559e134
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
gen_holes_and_tools_lists_for_drill.cpp
pcbnew/gen_holes_and_tools_lists_for_drill.cpp
+1
-0
gendrill.cpp
pcbnew/gendrill.cpp
+2
-0
No files found.
pcbnew/gen_holes_and_tools_lists_for_drill.cpp
View file @
ad557994
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
using
namespace
std
;
using
namespace
std
;
#include <algorithm> // sort
#include <vector>
#include <vector>
#include "common.h"
#include "common.h"
...
...
pcbnew/gendrill.cpp
View file @
ad557994
...
@@ -130,6 +130,7 @@ void WinEDA_DrillFrame::InitDisplayParams( void )
...
@@ -130,6 +130,7 @@ void WinEDA_DrillFrame::InitDisplayParams( void )
for
(
D_PAD
*
pad
=
module
->
m_Pads
;
pad
!=
NULL
;
pad
=
pad
->
Next
()
)
for
(
D_PAD
*
pad
=
module
->
m_Pads
;
pad
!=
NULL
;
pad
=
pad
->
Next
()
)
{
{
if
(
pad
->
m_DrillShape
==
PAD_CIRCLE
)
if
(
pad
->
m_DrillShape
==
PAD_CIRCLE
)
{
if
(
pad
->
m_Drill
.
x
!=
0
)
if
(
pad
->
m_Drill
.
x
!=
0
)
m_PadsHoleCount
++
;
m_PadsHoleCount
++
;
else
else
...
@@ -137,6 +138,7 @@ void WinEDA_DrillFrame::InitDisplayParams( void )
...
@@ -137,6 +138,7 @@ void WinEDA_DrillFrame::InitDisplayParams( void )
m_PadsHoleCount
++
;
m_PadsHoleCount
++
;
}
}
}
}
}
msg
=
m_PadsCountInfoMsg
->
GetLabel
();
msg
=
m_PadsCountInfoMsg
->
GetLabel
();
msg
<<
wxT
(
" "
)
<<
m_PadsHoleCount
;
msg
<<
wxT
(
" "
)
<<
m_PadsHoleCount
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment