[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-core does not build with gcc-2.95.4
From: |
Han-Wen Nienhuys |
Subject: |
Re: guile-core does not build with gcc-2.95.4 |
Date: |
Mon, 14 Jul 2003 00:24:04 +0200 |
address@hidden writes:
> Kevin Ryde <address@hidden> writes:
>
> > Alex Thiel <address@hidden> writes:
> >>
> >> gc-malloc.c: In function `scm_gc_realloc':
> >> gc-malloc.c:323: parse error before `void'
> >> gc-malloc.c:330: `ptr' undeclared (first use in this function)
> >
> > Thanks. This was a recent change. I applied a fix.
> >
> >> gcc >= 3.0 works fine.
> >
> > Variables defined in the middle of functions, a la C++, is either a
> > c99-ism or a gcc-ism, not sure which.
> >
> C99, AFAIRC.
Maybe --std=gnu89 should be added by default for GCC 3.x
compilation. Anyone knowledgeable about autoconf willing to do this?
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen