Skip to content

Commit

Permalink
Merge pull request opencv#11815 from tomoaki0705:suppressDeprecatedWa…
Browse files Browse the repository at this point in the history
…rning
  • Loading branch information
alalek committed Jun 23, 2018
2 parents 8b5e29c + ffb9ce8 commit fa813d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/opencl/opencl-opencv-interop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#include <iomanip>
#include <stdexcept>

#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS // eliminate build warning

#ifdef __APPLE__
Expand Down

0 comments on commit fa813d0

Please sign in to comment.