[sane-devel] Re: [sane-commit] CVS update of sane-backends (3 files)

2005-08-16 Thread Henning Meier-Geinitz
[from sane-commit:]

On Mon, Aug 15, 2005 at 06:56:55PM +, Oliver Schwartz wrote:
 Date: Monday, August 15, 2005 @ 18:56:55
   Author: oliver-guest
 Path: /cvsroot/sane/sane-backends
 
 Modified: ChangeLog backend/snapscan-scsi.c backend/snapscan.c
 
 Added temporary debug code for 2480/2580 distinction
 
 
 -+
  ChangeLog   |6 ++
  backend/snapscan-scsi.c |   40 +---
  backend/snapscan.c  |7 +--
  3 files changed, 48 insertions(+), 5 deletions(-)

Maybe I'm doing something wrong but after cvs update and trying to
make sane-backends I get:

In file included from snapscan.c:210:
snapscan-scsi.c: In function 'inquiry':
snapscan-scsi.c:483: error: 'PERFECTION3590' undeclared (first use in this 
function)
snapscan-scsi.c:483: error: (Each undeclared identifier is reported only once
snapscan-scsi.c:483: error: for each function it appears in.)
snapscan-scsi.c:485: warning: pointer targets in passing argument 2 of 
'snapscani_debug_data' differ in signedness
snapscan-scsi.c: In function 'calibrate_2480':
[...]

Bye,
  Henning


[sane-devel] Re: [sane-commit] CVS update of sane-backends (3 files)

2005-08-16 Thread Oliver Schwartz
Hi,

 Maybe I'm doing something wrong but after cvs update and trying to
 make sane-backends I get:

 In file included from snapscan.c:210:
 snapscan-scsi.c: In function 'inquiry':
 snapscan-scsi.c:483: error: 'PERFECTION3590' undeclared (first use
 in this function) snapscan-scsi.c:483: error: (Each undeclared
 identifier is reported only once snapscan-scsi.c:483: error: for
 each function it appears in.) snapscan-scsi.c:485: warning: pointer
 targets in passing argument 2 of 'snapscani_debug_data' differ in
 signedness snapscan-scsi.c: In function 'calibrate_2480':
 [...]

No, seems that was me :-( Checked in an older version by mistake. It's 
fixed now.

/Oliver



[sane-devel] Re: [sane-commit] CVS update of sane-backends (3 files)

2005-08-16 Thread Henning Meier-Geinitz
Hi,

On Tue, Aug 16, 2005 at 07:21:15PM +0200, Oliver Schwartz wrote:
 No, seems that was me :-( Checked in an older version by mistake. It's 
 fixed now.

Ok, now I get this:

In file included from snapscan.c:213:
snapscan-options.c: In function 'init_options':
snapscan-options.c:236: error: syntax error before '/' token

I think that's a // which is not accepted by older compilers and by
gcc with all warnings enabled.

gcc --version
gcc (GCC) 4.0.2 20050806 (prerelease) (Debian 4.0.1-4)

Bye,
  Henning


[sane-devel] Re: [sane-commit] CVS update of sane-backends (3 files)

2005-08-16 Thread Oliver Schwartz
Hi,

 In file included from snapscan.c:213:
 snapscan-options.c: In function 'init_options':
 snapscan-options.c:236: error: syntax error before '/' token

Fixed, thanks for testing.

/Oliver