Bug#684444: including CL/cl.hpp produces compile errors

2012-09-04 Thread Andreas Beckmann
Control: tag -1 + patch On Wednesday, 29. August 2012 17:44:49 Vincent Danjean wrote: I've been hit by this bug, too. Would you accept a patch to solve it? Here is such a patch in attachment. Thanks. Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a

Bug#684444: including CL/cl.hpp produces compile errors

2012-09-04 Thread Andreas Beckmann
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

Bug#684444: including CL/cl.hpp produces compile errors

2012-08-29 Thread Vincent Danjean
Package: opencl-headers Version: 1.2-2012.04.18a-1 Followup-For: Bug #68 Hi, I've been hit by this bug, too. Would you accept a patch to solve it? Here is such a patch in attachment. This allows to compile the first and second program and it emits an error for the third one explaining

Bug#684444: including CL/cl.hpp produces compile errors

2012-08-15 Thread Andreas Beckmann
On 2012-08-10 06:28, Joel wrote: In file included from t.cc:1:0: /usr/include/CL/cl.hpp: In function ‘cl_int cl::UnloadCompiler()’: /usr/include/CL/cl.hpp:1606:12: error: ‘::clUnloadCompiler’ has not been declared See workaround in

Bug#684444: including CL/cl.hpp produces compile errors

2012-08-09 Thread Joel
Package: opencl-headers Version: 1.2-2012.04.18a-1 t.cc: #include CL/cl.hpp int main() {} --- g++ -L/usr/lib/x86_64-linux-gnu/ -lOpenCL t.cc produces: --- In file included from t.cc:1:0: /usr/include/CL/cl.hpp: In function ‘cl_int