From 06259c33f5c6f1a8cd497a4ce7245295cca400b2 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 17 May 2016 13:08:39 -0700 Subject: util: Suppress OpenCL deprecation warnings Signed-off-by: Dylan Baker Reviewed-by: Serge Martin --- tests/util/piglit-util-cl-enum.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/util/piglit-util-cl-enum.h b/tests/util/piglit-util-cl-enum.h index 51336ce44..e08d3c376 100644 --- a/tests/util/piglit-util-cl-enum.h +++ b/tests/util/piglit-util-cl-enum.h @@ -25,6 +25,11 @@ #ifndef PIGLIT_UTIL_CL_ENUM_H #define PIGLIT_UTIL_CL_ENUM_H +#define CL_USE_DEPRECATED_OPENCL_1_0_APIS +#define CL_USE_DEPRECATED_OPENCL_1_1_APIS +#define CL_USE_DEPRECATED_OPENCL_1_2_APIS +#define CL_USE_DEPRECATED_OPENCL_2_0_APIS + #ifdef __APPLE__ #include #else -- cgit v1.2.3