guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gc_os_dep.c:1802: warning: 'GC_find_limit' defined but not used


From: Alan Pae
Subject: Re: gc_os_dep.c:1802: warning: 'GC_find_limit' defined but not used
Date: Tue, 26 Jun 2007 12:42:17 -0700
User-agent: Thunderbird 2.0.0.0 (X11/20070419)

Ludovic Courtès wrote:
> Hi,
>
> Alan Pae <address@hidden> writes:
>
>> This is on a Solaris 10 11/06 box trying to compile Guile 1.8.1
>> with GMP 4.2.1 and libtool 1.5.22
>
> [...]
>
>> gc_os_dep.c:1802: warning: 'GC_find_limit' defined but not used
>
> This is harmless.  What you can do is disable GCC's warning-as-errors
> features when compiling Guile:
>
>   $ make CFLAGS='-Wall'
>
> Let us know if it works.

Got a little further down the road.  Now I've got:

if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I/opt/local/include -D_REENTRANT -pthreads -Wall -MT libguile_la-numbers.lo -MD -MP -MF ".deps/libguile_la-numbers.Tpo" -c -o libguile_la-numbers.lo `test -f 'numbers.c' || echo './'`numbers.c; \ then mv -f ".deps/libguile_la-numbers.Tpo" ".deps/libguile_la-numbers.Plo"; else rm -f ".deps/libguile_la-numbers.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I/opt/local/include -D_REENTRANT -pthreads -Wall -MT libguile_la-numbers.lo -MD -MP -MF .deps/libguile_la-numbers.Tpo -c numbers.c -fPIC -DPIC -o .libs/libguile_la-numbers.o
numbers.c: In function `scm_log':
numbers.c:6022: error: `_Complex_I' undeclared (first use in this function)
numbers.c:6022: error: (Each undeclared identifier is reported only once
numbers.c:6022: error: for each function it appears in.)
numbers.c: In function `scm_exp':
numbers.c:6088: error: `_Complex_I' undeclared (first use in this function)
make[3]: *** [libguile_la-numbers.lo] Error 1
make[3]: Leaving directory `/export/home/alan/gnucash/guile-1.8.1/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/alan/gnucash/guile-1.8.1/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/alan/gnucash/guile-1.8.1'
make: *** [all] Error 2

thanks,
alan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]