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
6f267be6
Commit
6f267be6
authored
Aug 08, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15260 from tomoaki0705:suppressNoisyWarning
parents
76b40a37
40c71a24
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
6 deletions
+11
-6
OpenCVCompilerOptions.cmake
cmake/OpenCVCompilerOptions.cmake
+3
-0
CMakeLists.txt
modules/cudalegacy/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudaobjdetect/CMakeLists.txt
+1
-1
hog.cu
modules/cudaobjdetect/src/cuda/hog.cu
+1
-1
CMakeLists.txt
modules/cudaoptflow/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/dnn/CMakeLists.txt
+3
-1
CMakeLists.txt
modules/stitching/CMakeLists.txt
+1
-1
No files found.
cmake/OpenCVCompilerOptions.cmake
View file @
6f267be6
...
...
@@ -121,6 +121,9 @@ if(CV_GCC OR CV_CLANG)
add_extra_compiler_option
(
-Wsign-promo
)
add_extra_compiler_option
(
-Wuninitialized
)
add_extra_compiler_option
(
-Winit-self
)
if
(
CV_GCC
AND
(
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 6.0
)
AND
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0
))
add_extra_compiler_option
(
-Wno-psabi
)
endif
()
if
(
HAVE_CXX11
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
AND NOT ENABLE_PRECOMPILED_HEADERS
)
add_extra_compiler_option
(
-Wsuggest-override
)
...
...
modules/cudalegacy/CMakeLists.txt
View file @
6f267be6
...
...
@@ -4,7 +4,7 @@ endif()
set
(
the_description
"CUDA-accelerated Computer Vision (legacy)"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4130 /wd4324 /wd4512 /wd4310 -Wundef -Wmissing-declarations -Wuninitialized -Wshadow
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4130 /wd4324 /wd4512 /wd4310 -Wundef -Wmissing-declarations -Wuninitialized -Wshadow
-Wdeprecated-declarations -Wstrict-aliasing -Wtautological-compare
)
ocv_define_module
(
cudalegacy opencv_core opencv_video
OPTIONAL opencv_objdetect opencv_imgproc opencv_calib3d opencv_cudaarithm opencv_cudafilters opencv_cudaimgproc
)
modules/cudaobjdetect/CMakeLists.txt
View file @
6f267be6
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Object Detection"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations -Wshadow
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations -Wshadow
-Wstrict-aliasing
)
ocv_define_module
(
cudaobjdetect opencv_objdetect opencv_cudaarithm opencv_cudawarping OPTIONAL opencv_cudalegacy
)
modules/cudaobjdetect/src/cuda/hog.cu
View file @
6f267be6
...
...
@@ -448,7 +448,7 @@ namespace cv { namespace cuda { namespace device
compute_confidence_hists_kernel_many_blocks<nthreads, nblocks><<<grid, threads>>>(
img_win_width, img_block_width, win_block_stride_x, win_block_stride_y,
block_hists, coefs, free_coef, threshold, confidences);
cudaSafeCall(cuda
Thread
Synchronize());
cudaSafeCall(cuda
Device
Synchronize());
}
...
...
modules/cudaoptflow/CMakeLists.txt
View file @
6f267be6
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Optical Flow"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations -Wshadow
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations -Wshadow
-Wstrict-aliasing
)
ocv_define_module
(
cudaoptflow opencv_video opencv_cudaarithm opencv_cudawarping opencv_cudaimgproc OPTIONAL opencv_cudalegacy
)
modules/dnn/CMakeLists.txt
View file @
6f267be6
...
...
@@ -31,7 +31,9 @@ else()
-Wunused-parameter -Wsign-compare
)
endif
()
if
(
HAVE_CUDA
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wundef
)
endif
()
if
(
NOT HAVE_CXX11
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wno-undef
)
# LANG_CXX11 from protobuf files
endif
()
...
...
modules/stitching/CMakeLists.txt
View file @
6f267be6
set
(
the_description
"Images stitching"
)
if
(
HAVE_CUDA
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow
-Wstrict-aliasing
)
endif
()
set
(
STITCHING_CONTRIB_DEPS
"opencv_xfeatures2d"
)
...
...
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