From: Jason Newton Date: Sat, 15 Dec 2012 11:37:24 +0000 (-0800) Subject: disable windows build warning for connectedcomponents template argument comparisons X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~4048^2~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad0bfdfb25f379fa269e557c1c8565f1d10ba992;p=platform%2Fupstream%2Fopencv.git disable windows build warning for connectedcomponents template argument comparisons --- diff --git a/modules/imgproc/src/connectedcomponents.cpp b/modules/imgproc/src/connectedcomponents.cpp index e0ad063..97da882 100644 --- a/modules/imgproc/src/connectedcomponents.cpp +++ b/modules/imgproc/src/connectedcomponents.cpp @@ -43,6 +43,10 @@ #include "precomp.hpp" #include +#if defined _MSC_VER +#pragma warning(disable: 4127) +#endif + namespace cv{ namespace connectedcomponents{