Hi Vincent, please check whether CL_USE_DEPRECATED_OPENCL_1_1_APIS is already defined instead of redefining it:
$ g++ -I . -c a.cpp -W -Wall -DCL_USE_DEPRECATED_OPENCL_1_1_APIS In file included from a.cpp:1:0: ./CL/cl.hpp:152:0: warning: "CL_USE_DEPRECATED_OPENCL_1_1_APIS" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition In file included from /usr/include/CL/opencl.h:43:0, from ./CL/cl.hpp:175, from a.cpp:1: /usr/include/CL/cl_gl.h:107:2: warning: #warning CL_USE_DEPRECATED_OPENCL_1_1_APIS is defined. These APIs are unsupported and untested in OpenCL 1.2! [-Wcpp] Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org