[sane-devel] Code-freeze for sane-1.0.9 active

Henning Meier-Geinitz henning@meier-geinitz.de
Sat, 19 Oct 2002 13:16:31 +0200


Hi,

On Fri, Oct 18, 2002 at 07:17:51PM -0400, Karl Heinz Kremer wrote:
> I compiled the backend package on Mac OS X 10.2 (Jaguar). I don't 
> have any backends that work, but in general it compiled (with
> lots of warnings).

Is it compiled with static or dynamic libs? Does at least the test
backend work (scanimage -d test -T)?

> I did however get one error message while
> compiling dc25.c:
> 
> gcc -c -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmi
> ssing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedanti
> c -ansi -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DP
> ATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/s
> hare -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=dc25 -DLIBDIR=/usr/local/lib/sa
> ne dc25.c  -fno-common -DPIC
> dc25.c:2757: syntax error, found `fd'
> dc25.c:2757: illegal function definition, found `)'

Maybe that gcc doesn't like the UNUSEDARG? However I don't know why it
complains about the last usage in that file.

Bye,
  Henning