tesseract/opencl
Stefan Weil 663ca268cf opencl: Add missing argument for L_WARNING
gcc report:

In file included from /usr/include/leptonica/alltypes.h:36:0,
                 from /usr/include/leptonica/allheaders.h:34,
                 from openclwrapper.h:2,
                 from openclwrapper.cpp:11:
openclwrapper.cpp: In static member function 'static PIX* OpenclDevice::pixReadMemTiffCl(const l_uint8*, size_t, l_int32)':
/usr/include/leptonica/environ.h:442:68: warning: format '%d' expects a matching 'int' argument [-Wformat=]
              (void)fprintf(stderr, "Warning in %s: " a, __VA_ARGS__), \
                                                                    ^
/usr/include/leptonica/environ.h:427:61: note: in definition of macro 'IF_SEV'
       ((l) >= MINIMUM_SEVERITY && (l) >= LeptMsgSeverity ? (t) : (f))
                                                             ^
opencl/openclwrapper.cpp:1162:3: note: in expansion of macro 'L_WARNING'
   L_WARNING("tiff page %d not found", procName);
   ^

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-11-24 13:53:36 +01:00
..
Makefile.am Get OpenCL to compile on OS X 2015-08-26 02:03:07 -07:00
oclkernels.h Fix a padding problem in ThresholdRectToPixOCL 2016-10-27 22:26:39 +02:00
opencl_device_selection.h opencl: Fix wrong implementation of function getNumDeviceWithEmptyScore 2016-11-24 13:52:04 +01:00
openclwrapper.cpp opencl: Add missing argument for L_WARNING 2016-11-24 13:53:36 +01:00
openclwrapper.h opencl: Move declaration of MORPH_BC from .h to .cpp file 2016-11-01 20:15:29 +01:00