[sane-devel] sanei_usb.h header with errors
Tue, 16 Dec 2003 03:28:21 +0000
> I've been trying to compile a simple little app. for a while, but
> whenever I try to include the "sanei_usb.h" header, it returns an
> error about certain parsing errors before size_t declarations. Has
> anyone else seen this?
Such reports aren't much use without a verbatim copy of the actual
Anyway, parsing errors mean literally just that: the compiler found
something it can't make sense of. In your case, it's probably an
unknown type (i.e. a missing typedef).
Remedy (guess off the top of my head): include sane/sane.h and
sane/sanei.h before sane/sanei_usb.h, in that order.