id summary reporter owner description type status priority milestone component version severity resolution keywords cc 5518 gdalwarpkernel_opencl.c: unused variable causes CL_BUILD_PROGRAM_FAILURE granatn warmerdam "I compiled gdal with OpenCL-support and ECW-support (provided by ERDASEcwJpeg2000SDK5.1.1). When using gdalwarp, I get the following error: {{{ 0ERROR 1: Error: Failed to build program executable! Build Log: :253:5: error: unused variable 'i' int i; ^ ERROR 1: Error at file gdalwarpkernel_opencl.c line 2326: CL_BUILD_PROGRAM_FAILURE ERROR 1: OpenCL routines reported failure (-11) on line 3250. }}} My system: {{{ MacPro (late 2013) Dual AMD FirePro D300 2048 MB OS X 10.9.3 }}} The attached patch solved this problem for me." defect closed normal 1.11.1 default 1.11.0 normal fixed gdalwarp opencl mac