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
2082fbba
Commit
2082fbba
authored
Feb 10, 2012
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some warnings in Debug mode under wx 2.9.x
parent
72605c34
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
sch_component.cpp
eeschema/sch_component.cpp
+2
-2
class_track.cpp
pcbnew/class_track.cpp
+1
-1
class_zone.cpp
pcbnew/class_zone.cpp
+4
-4
zones_test_and_combine_areas.cpp
pcbnew/zones_test_and_combine_areas.cpp
+2
-2
No files found.
eeschema/sch_component.cpp
View file @
2082fbba
...
...
@@ -522,8 +522,8 @@ void SCH_COMPONENT::SetTimeStamp( long aNewTimeStamp )
{
wxString
string_timestamp
,
string_oldtimestamp
;
string_timestamp
.
Printf
(
wxT
(
"%
8.8
X"
),
aNewTimeStamp
);
string_oldtimestamp
.
Printf
(
wxT
(
"%
8.8
X"
),
m_TimeStamp
);
string_timestamp
.
Printf
(
wxT
(
"%
08l
X"
),
aNewTimeStamp
);
string_oldtimestamp
.
Printf
(
wxT
(
"%
08l
X"
),
m_TimeStamp
);
EDA_ITEM
::
SetTimeStamp
(
aNewTimeStamp
);
for
(
unsigned
ii
=
0
;
ii
<
m_PathsAndReferences
.
GetCount
();
ii
++
)
...
...
pcbnew/class_track.cpp
View file @
2082fbba
...
...
@@ -164,7 +164,7 @@ wxString SEGZONE::GetSelectMenuText() const
NETINFO_ITEM
*
net
;
BOARD
*
board
=
GetBoard
();
text
<<
_
(
"Zone"
)
<<
wxT
(
" "
)
<<
wxString
::
Format
(
wxT
(
"(%
8.8
X)"
),
m_TimeStamp
);
text
<<
_
(
"Zone"
)
<<
wxT
(
" "
)
<<
wxString
::
Format
(
wxT
(
"(%
08l
X)"
),
m_TimeStamp
);
if
(
board
)
{
...
...
pcbnew/class_zone.cpp
View file @
2082fbba
...
...
@@ -697,7 +697,7 @@ void ZONE_CONTAINER::DisplayInfo( EDA_DRAW_FRAME* frame )
msg
=
board
->
GetLayerName
(
m_Layer
);
frame
->
AppendMsgPanel
(
_
(
"Layer"
),
msg
,
BROWN
);
msg
.
Printf
(
wxT
(
"%d"
),
m_Poly
->
corner
.
size
()
);
msg
.
Printf
(
wxT
(
"%d"
),
(
int
)
m_Poly
->
corner
.
size
()
);
frame
->
AppendMsgPanel
(
_
(
"Corners"
),
msg
,
BLUE
);
if
(
m_FillMode
)
...
...
@@ -708,12 +708,12 @@ void ZONE_CONTAINER::DisplayInfo( EDA_DRAW_FRAME* frame )
frame
->
AppendMsgPanel
(
_
(
"Fill mode"
),
msg
,
BROWN
);
// Useful for statistics :
msg
.
Printf
(
wxT
(
"%d"
),
m_Poly
->
m_HatchLines
.
size
()
);
msg
.
Printf
(
wxT
(
"%d"
),
(
int
)
m_Poly
->
m_HatchLines
.
size
()
);
frame
->
AppendMsgPanel
(
_
(
"Hatch lines"
),
msg
,
BLUE
);
if
(
m_FilledPolysList
.
size
()
)
{
msg
.
Printf
(
wxT
(
"%d"
),
m_FilledPolysList
.
size
()
);
msg
.
Printf
(
wxT
(
"%d"
),
(
int
)
m_FilledPolysList
.
size
()
);
frame
->
AppendMsgPanel
(
_
(
"Corners in DrawList"
),
msg
,
BLUE
);
}
}
...
...
@@ -897,7 +897,7 @@ wxString ZONE_CONTAINER::GetSelectMenuText() const
text
<<
wxT
(
" "
)
<<
_
(
"(Cutout)"
);
text
<<
wxT
(
" "
);
text
<<
wxString
::
Format
(
wxT
(
"(%
8.8
X)"
),
m_TimeStamp
);
text
<<
wxString
::
Format
(
wxT
(
"(%
08l
X)"
),
m_TimeStamp
);
if
(
!
IsOnCopperLayer
()
)
{
...
...
pcbnew/zones_test_and_combine_areas.cpp
View file @
2082fbba
...
...
@@ -281,7 +281,7 @@ int BOARD::ClipAreaPolygon( PICKED_ITEMS_LIST * aNewZonesList,
if
(
bMessageBoxArc
&&
bDontShowSelfIntersectionArcsWarning
==
false
)
{
wxString
str
;
str
.
Printf
(
wxT
(
"Area %
8.8
X of net
\"
%s
\"
has arcs intersecting other sides.
\n
"
),
str
.
Printf
(
wxT
(
"Area %
08l
X of net
\"
%s
\"
has arcs intersecting other sides.
\n
"
),
aCurrArea
->
GetTimeStamp
(),
GetChars
(
aCurrArea
->
m_Netname
)
);
str
+=
wxT
(
"This may cause problems with other editing operations,
\n
"
);
str
+=
wxT
(
"such as adding cutouts. It can't be fixed automatically.
\n
"
);
...
...
@@ -304,7 +304,7 @@ int BOARD::ClipAreaPolygon( PICKED_ITEMS_LIST * aNewZonesList,
if
(
bMessageBoxInt
&&
bDontShowSelfIntersectionWarning
==
false
)
{
wxString
str
;
str
.
Printf
(
wxT
(
"Area %
8.8
X of net
\"
%s
\"
is self-intersecting and will be clipped.
\n
"
),
str
.
Printf
(
wxT
(
"Area %
08l
X of net
\"
%s
\"
is self-intersecting and will be clipped.
\n
"
),
aCurrArea
->
GetTimeStamp
(),
GetChars
(
aCurrArea
->
m_Netname
)
);
str
+=
wxT
(
"This may result in splitting the area.
\n
"
);
str
+=
wxT
(
"If the area is complex, this may take a few seconds."
);
...
...
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