|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ocrad] Incorrect prototype for OCRAD_scale: er ror: unknown type name ‘OCRAD_Descriptor’ |
Date: | Thu, 27 Oct 2011 17:48:57 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Jakub, Jakub Wilk wrote:
It's currently impossible to compile a file that includes ocradlib.h using C compiler:$ echo '#include <ocradlib.h>' > test.c $ gcc -c test.c In file included from test.c:1:0: /usr/include/ocradlib.h:81:18: error: unknown type name 'OCRAD_Descriptor'
Thanks for reporting this. I have added the missing "struct" keyword to the prototype. The change will appear in the next version of ocrad.
Thanks and regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |