Disable Waddress because of GCC6's strict checking 35/110535/3 accepted/tizen/common/20170117.174831 accepted/tizen/ivi/20170118.040258 accepted/tizen/mobile/20170118.040211 accepted/tizen/tv/20170118.040228 accepted/tizen/unified/20170309.040210 accepted/tizen/wearable/20170118.040243 submit/tizen/20170117.055302 submit/tizen_unified/20170308.100415
authorTae-Young Chung <ty83.chung@samsung.com>
Tue, 17 Jan 2017 02:28:14 +0000 (11:28 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Tue, 17 Jan 2017 05:37:52 +0000 (14:37 +0900)
Change-Id: I0f7b373e4549964b16a2fc98ab9e0a78737514b7
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
cmake/OpenCVCompilerOptions.cmake
packaging/opencv.spec

index d525609..c388b6b 100644 (file)
@@ -71,7 +71,12 @@ if(CMAKE_COMPILER_IS_GNUCXX)
   if(OPENCV_CAN_BREAK_BINARY_COMPATIBILITY)
     add_extra_compiler_option(-Werror=non-virtual-dtor)
   endif()
-  add_extra_compiler_option(-Werror=address)
+
+  # GCC6 do strict checking Waddress and Wnonnull-compare
+  # temporally, disable this compile option
+  if(FALSE)
+    add_extra_compiler_option(-Werror=address)
+  endif()
   add_extra_compiler_option(-Werror=sequence-point)
   add_extra_compiler_option(-Wformat)
   add_extra_compiler_option(-Werror=format-security -Wformat)
index 5393516..2ab58c8 100644 (file)
@@ -2,7 +2,7 @@ Name: opencv
 VCS:  #e3ca2f3bdcac02e9780c2de7001310a2a61a483e-dirty
 Summary: OpenCV library
 Version: 2.4.9
-Release: 9
+Release: 10
 Group: Development/Libraries
 License: BSD-2.0 and LGPL-2.1+
 Source0: %{name}-%{version}.tar.gz