sane-0.6 compile errors

beanbek@nuyums.trinet.bc.ca
Tue, 1 Jul 1997 15:07:58 -0700 (PDT)

Up to this error the build went just fine.
My gcc 2.7.2 doesent like the statement in line 702:

702 curve = GTK_GAMMA_CURVE (gamma)->curve;

I am not a programmer so I don't have much luck getting past this error.
The final few lines of the compile output is listed here:

gtkglue.c: In function `curve_new':
gtkglue.c:701: warning: implicit declaration of function
`gtk_gamma_curve_new'
gtkglue.c:701: warning: assignment makes pointer from integer without a
cast
gtkglue.c:702: warning: implicit declaration of function `GTK_GAMMA_CURVE'
gtkglue.c:702: invalid type argument of `->'
gtkglue.c:696: warning: `curve' might be used uninitialized in this
function
gtkglue.c: In function `gsg_sync':
gtkglue.c:1296: invalid type argument of `->'
gtkglue.c:1275: warning: `curve' might be used uninitialized in this
function
make[1]: *** [gtkglue.o] Error 1
make[1]: Leaving directory `/apps/sane/sane-0.6/frontend'
make: *** [all-recursive] Error 1

----------------------------------------------

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com