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
a3211b2b
Commit
a3211b2b
authored
Jan 18, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable deprecation warnings in Debug build, change message in fp_lib_table.cpp
parent
bcf79484
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
CMakeLists.txt
CMakeLists.txt
+1
-1
fp_lib_table.cpp
common/fp_lib_table.cpp
+6
-2
No files found.
CMakeLists.txt
View file @
a3211b2b
...
@@ -109,7 +109,7 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
...
@@ -109,7 +109,7 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
endif
()
endif
()
set
(
CMAKE_C_FLAGS_DEBUG
"-g3 -ggdb3 -DDEBUG"
)
set
(
CMAKE_C_FLAGS_DEBUG
"-g3 -ggdb3 -DDEBUG"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-g3 -ggdb3 -DDEBUG"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-g3 -ggdb3 -DDEBUG
-Wno-deprecated-declarations
"
)
set
(
CMAKE_C_FLAGS_RELEASE
"
${
CMAKE_C_FLAGS_RELEASE
}
-DNDEBUG"
)
set
(
CMAKE_C_FLAGS_RELEASE
"
${
CMAKE_C_FLAGS_RELEASE
}
-DNDEBUG"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-DNDEBUG"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-DNDEBUG"
)
...
...
common/fp_lib_table.cpp
View file @
a3211b2b
...
@@ -626,11 +626,15 @@ const FP_LIB_TABLE::ROW* FP_LIB_TABLE::FindRow( const wxString& aNickname )
...
@@ -626,11 +626,15 @@ const FP_LIB_TABLE::ROW* FP_LIB_TABLE::FindRow( const wxString& aNickname )
if
(
!
row
)
if
(
!
row
)
{
{
wxString
msg
=
wxString
::
Format
(
_
(
"lib table contains no logical lib '%s'"
),
wxString
msg
=
wxString
::
Format
(
_
(
"fp-lib-table files contain no lib with nickname '%s'"
),
GetChars
(
aNickname
)
);
GetChars
(
aNickname
)
);
THROW_IO_ERROR
(
msg
);
THROW_IO_ERROR
(
msg
);
}
}
// We've been 'lazy' up until now, but it cannot be deferred any longer,
// instantiate a PLUGIN of the proper kind if it is not already in this ROW.
if
(
!
row
->
plugin
)
if
(
!
row
->
plugin
)
row
->
setPlugin
(
IO_MGR
::
PluginFind
(
row
->
type
)
);
row
->
setPlugin
(
IO_MGR
::
PluginFind
(
row
->
type
)
);
...
...
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