Commit e88a3662 authored by Maksim Shabunin's avatar Maksim Shabunin

Fixed warning during cross compile for ARM

parent ad018da2
......@@ -985,3 +985,8 @@ Ptr<DenseOpticalFlowExt> cv::superres::createOptFlow_Farneback_OCL()
}
#endif
// Suppress specific warnings during cross-compilation for ARM
#if defined(__arm__) && defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 8)
# pragma GCC diagnostic ignored "-Warray-bounds"
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment