Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
3228599a
Commit
3228599a
authored
Mar 19, 2012
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some more GCC warnings
parent
c5cc79d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
cmdparser.cpp
modules/core/src/cmdparser.cpp
+6
-6
CMakeLists.txt
modules/highgui/CMakeLists.txt
+4
-0
No files found.
modules/core/src/cmdparser.cpp
View file @
3228599a
...
...
@@ -100,7 +100,7 @@ CommandLineParser::CommandLineParser(int argc, const char* const argv[], const c
std
::
map
<
std
::
string
,
std
::
vector
<
std
::
string
>
>::
iterator
it
;
size_t
flagPosition
;
int
currentIndex
=
1
;
bool
isFound
=
false
;
//
bool isFound = false;
bool
withNoKey
=
false
;
bool
hasValueThroughEq
=
false
;
...
...
@@ -169,7 +169,7 @@ CommandLineParser::CommandLineParser(int argc, const char* const argv[], const c
if
(((
curName
==
keysVector
[
0
])
||
(
curName
==
keysVector
[
1
]))
&&
hasValueThroughEq
)
{
it
->
second
[
0
]
=
buffer
;
isFound
=
true
;
//
isFound = true;
break
;
}
...
...
@@ -180,7 +180,7 @@ CommandLineParser::CommandLineParser(int argc, const char* const argv[], const c
))
{
it
->
second
[
0
]
=
"true"
;
isFound
=
true
;
//
isFound = true;
break
;
}
...
...
@@ -188,7 +188,7 @@ CommandLineParser::CommandLineParser(int argc, const char* const argv[], const c
((
curName
==
keysVector
[
0
])
||
(
curName
==
keysVector
[
1
])))
{
it
->
second
[
0
]
=
argv
[
++
i
];
isFound
=
true
;
//
isFound = true;
break
;
}
...
...
@@ -200,7 +200,7 @@ CommandLineParser::CommandLineParser(int argc, const char* const argv[], const c
{
it
->
second
[
0
]
=
curName
;
currentIndex
++
;
isFound
=
true
;
//
isFound = true;
break
;
}
}
...
...
@@ -208,7 +208,7 @@ CommandLineParser::CommandLineParser(int argc, const char* const argv[], const c
withNoKey
=
false
;
hasValueThroughEq
=
false
;
isFound
=
false
;
//
isFound = false;
}
}
...
...
modules/highgui/CMakeLists.txt
View file @
3228599a
...
...
@@ -259,6 +259,10 @@ set_target_properties(${the_module} PROPERTIES LINK_INTERFACE_LIBRARIES "")
ocv_add_precompiled_headers
(
${
the_module
}
)
if
(
CMAKE_COMPILER_IS_GNUCXX
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wno-deprecated-declarations"
)
endif
()
if
(
WIN32
)
#copy ffmpeg dll to the output folder
if
(
MSVC64 OR MINGW64
)
...
...
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