From 90dce8431419e144665e0193c4ca36c9f45c1e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Sat, 5 Jul 2014 09:27:11 +0200 Subject: [PATCH] imgproc: fix compiler error for gcc 4.8 this bug was introduced in a73809e6. --- modules/imgproc/src/morph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/src/morph.cpp b/modules/imgproc/src/morph.cpp index a621a6e403..4f696b4209 100644 --- a/modules/imgproc/src/morph.cpp +++ b/modules/imgproc/src/morph.cpp @@ -1257,7 +1257,7 @@ 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 +#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ >= 8 return false; /// It disables false positive warning in GCC 4.8 and further #endif }