diff --git a/modules/imgproc/src/morph.cpp b/modules/imgproc/src/morph.cpp index 5eec87cb2..a621a6e40 100644 --- a/modules/imgproc/src/morph.cpp +++ b/modules/imgproc/src/morph.cpp @@ -1257,8 +1257,8 @@ static bool IPPMorphReplicate(int op, const Mat &src, Mat &dst, const Mat &kerne } #undef IPP_MORPH_CASE -#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8 - return false; /// It disables false positive warning in GCC 4.8.2 +#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ > 8 + return false; /// It disables false positive warning in GCC 4.8 and further #endif } }