Re: patch for io.c: scsh won't build with gcc 4.0.2

Olwe Bottorff <[email protected]> Mon, 17 Apr 2006 20:32:11 -0700 (PDT)
Newsgroups gmane.lisp.scheme.scsh
Message-ID <[email protected]>
I just downloaded the 0.6.6 and had this same problem
with Fedora 5/gcc4.1.0. I really didn't follow the
patch suggestions George Demmy made. Please advise.

O

--- Martin Gasbichler
<[email protected]> wrote:

> George Demmy <[email protected]> writes:
> 
> > I've been playing with scsh since the early 0.5
> days, so imagine my
> > surprise when a routine configure; make ; make
> install for 0.6.6 blew
> > up on a Fedora 4 box. The problem is with
> c/unix/io.c. gcc 4.0.2
> > doesn't like the storage class specification for
> the declaration of
> > write_integer in ps_write_integer (and I don't
> blame it). Also, it's
> > freaking out about type mismatches arisiing from
> mixed use of singed
> > and unsigned longs. I've checked the CVS sources
> out, and get the same
> > problem. I've included a patch that fixes the
> problem. 
> 
> You've probably fetched the HEAD which is not
> up-to-date at the
> moment: the few fixes we added recently (including
> support for gcc
> 4.0) were applied to the r0-6-stable branch only.
> Sorry, I'll sync the
> changes back as soon as 0.6.7 has been released.
> 
> -- 
> Martin
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com