|
From: | Jakub Wilk |
Subject: | [Bug-ocrad] Incorrect prototype for OCRAD_scale: er ror: unknown type name ‘OCRAD_Descriptor’ |
Date: | Thu, 27 Oct 2011 16:46:53 +0200 |
User-agent: | Mutt/1.5.21 (2010-09-15) |
Hello,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’This is because of a C++ism in OCRAD_scale prototype. Please see the attached patch.
-- Jakub Wilk
[Prev in Thread] | Current Thread | [Next in Thread] |