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
_______________________________________________
Bug-ocrad mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ocrad

Reply via email to