1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

fix: supress GCC13 warnings (#24434)

* fix: supress GCC13 warnings

* fix for review and compile-warning on MacOS
This commit is contained in:
Kumataro
2023-10-26 15:00:58 +09:00
committed by GitHub
parent 38bc519e4a
commit 1911c63826
7 changed files with 42 additions and 10 deletions
+1 -1
View File
@@ -601,7 +601,7 @@ static void setValue(SparseMat& M, const int* idx, double value, RNG& rng)
CV_Error(CV_StsUnsupportedFormat, "");
}
#if defined(__GNUC__) && (__GNUC__ == 11 || __GNUC__ == 12)
#if defined(__GNUC__) && (__GNUC__ == 11 || __GNUC__ == 12 || __GNUC__ == 13)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
#endif