Fixed warning during cross compile for ARM

pull/3266/head
Maksim Shabunin 11 years ago
parent ad018da224
commit e88a36621e
  1. 5
      modules/superres/src/optical_flow.cpp

@ -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

Loading…
Cancel
Save