From e14acabb3d14ce42a7c562ee39a28dc0667de5ce Mon Sep 17 00:00:00 2001 From: peng xiao Date: Thu, 9 May 2013 14:00:36 +0800 Subject: [PATCH] Fix ocl moudle build with latest Intel OpenCL SDK. We found that cl.h file provided in latest Intel SDK muted deprecated interfaces. --- modules/ocl/src/mcwutil.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ocl/src/mcwutil.cpp b/modules/ocl/src/mcwutil.cpp index e56e2f1..3bcb870 100644 --- a/modules/ocl/src/mcwutil.cpp +++ b/modules/ocl/src/mcwutil.cpp @@ -43,6 +43,7 @@ // //M*/ +#define CL_USE_DEPRECATED_OPENCL_1_1_APIS #include "precomp.hpp" using namespace std; -- 2.7.4