id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 5400,OpenCL georeferencer error,vince,warmerdam,"When I try to use (via QGis) the Gdal Georeferencer, I get a bunch of errors from the OpenCL compiler (and thus the operation fails): {{{ ERROR 1: Error: Failed to build program executable! Build Log: :11:6: error: no previous prototype for function 'clampToDst' void clampToDst(float fReal, ^ :34:6: error: no previous prototype for function 'setPixel' void setPixel(__global outType *dstReal, ^ :102:5: error: no previous prototype for function 'getPixel' int getPixel(__read_only image2d_t srcReal, ^ :114:25: error: use of logical '||' with constant operand if(useUnifiedSrcDensity || useUnifiedSrcValid || useUseBandSrcValid){ ^ ~~~~~~~~~~~~~~~~~~ :114:25: note: use '|' for a bitwise operation if(useUnifiedSrcDensity || useUnifiedSrcValid || useUseBandSrcValid){ ^~ | :114:47: error: use of logical '||' with constant operand if(useUnifiedSrcDensity || useUnifiedSrcValid || useUseBandSrcValid){ ^ ~~~~~~~~~~~~~~~~~~ :114:47: note: use '|' for a bitwise operation if(useUnifiedSrcDensity || useUnifiedSrcValid || useUseBandSrcValid){ ^~ | :177:5: error: no previous prototype for function 'isValid' int isValid(__global float *fUnifiedSrcDensity, ^ :195:8: error: no previous prototype for function 'getSrcCoords' float2 getSrcCoords(__read_only image2d_t srcCoords) ^ :212:7: error: no previous prototype for function 'lanczosSinc' float lanczosSinc( float fX, float fR ) ^ :221:7: error: no previous prototype for function 'bSpline' float bSpline( float x ) ^ ERROR 1: Error at file gdalwarpkernel_opencl.c line 2299: CL_BUILD_PROGRAM_FAILURE ERROR 1: OpenCL routines reported failure (-11) on line 3242. }}} This seems to be related to a stiff underlying compiler (Clang), but can it be fixed easily? Thanks",defect,closed,normal,,Algorithms,1.10.1,normal,fixed,OpenCL georeferencer clang,sprice