summarylogtreecommitdiffstats
path: root/010-opencv2-remove-prototypes-warnings.patch
blob: a89b3b7771bafb7f7067844955c7576ea78b04bb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/cmake/OpenCVCompilerOptions.cmake
+++ b/cmake/OpenCVCompilerOptions.cmake
@@ -114,8 +114,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
   add_extra_compiler_option(-Wformat)
   add_extra_compiler_option(-Werror=format-security -Wformat)
   add_extra_compiler_option(-Wmissing-declarations)
-  add_extra_compiler_option(-Wmissing-prototypes)
-  add_extra_compiler_option(-Wstrict-prototypes)
   add_extra_compiler_option(-Wundef)
   add_extra_compiler_option(-Winit-self)
   add_extra_compiler_option(-Wpointer-arith)