Re: patch for io.c: scsh won't build with gcc 4.0.2
Martin Gasbichler <[email protected]> Wed, 22 Feb 2006 20:05:13 +0100
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Message-ID | <[email protected]> |
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