On 8 December 2015 at 18:28, Andreas Beckmann <[email protected]> wrote: > BTW, why do you need your own copy of the opencl headers at all? Can't > you just use the headers from opencl-headers? (I probably asked this > before ...)
You're right. Upstream needs the local copy since many systems don't have recent enough OpenCL headers, but for Debian I could add a patch to remove the local copy and have a build-dependency on opencl-headers instead. > I don't really like the idea of manipulating unrelated defines in > headers ... OK, so how about if I do this from the .cpp files instead? e.g. (in foo.cpp) #include <CL/cl.h> #undef vector #undef bool #undef pixel James

