[sane-devel] hs2p backend

m. allan noah kitno455 at gmail.com
Tue Dec 18 01:23:30 UTC 2007


Jazz-

> > I've placed latest hs2p_patch.gz on my hs2p_sane_backend website.
> > It compiles on both x86 and x86_64 with the aforementioned warnings
> > related to free(sane.name) and free(sane.model) in sane_exit():
> >
> > # zgrep warn x86_*.gz
> > x86_64_log.gz:hs2p.c:1394: warning: cast discards qualifiers from pointer target type
> > x86_64_log.gz:hs2p.c:1395: warning: cast discards qualifiers from pointer target type
> > x86_log.gz:hs2p.c:1394: warning: cast discards qualifiers from pointer target type
> > x86_log.gz:hs2p.c:1395: warning: cast discards qualifiers from pointer target type
> >
>
> ok, i've not tried it yet, but i think you've reached the limits of my
> ability. i think that since sane.name is const, either free or the
> cast is going to complain. maybe someone else has an idea.
>

I just wanted to check and see if you are ready to get this code into
sane? i think we can ignore the free/const errors (unless someone else
has an idea).

allan


-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list