bug-guile
[Top][All Lists]
Advanced

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

More problems on HP-UX


From: Andreas Vögele
Subject: More problems on HP-UX
Date: Mon, 26 Apr 2004 23:30:44 +0200

After several weeks of frustration with various Scheme implementations I've decided to go back to Python. I was able to build Guile 1.6.4 on several but building Guile CVS on HP-UX und Mac OS X is a nightmare. Here are a couple of warnings and errors that I get when building Guile CVS with GCC 3.3.2 on HP-UX.

Bye,
Andreas

1.

continuations.c: In function `scm_dynthrow':
continuations.c:269: warning: implicit declaration of function `SCM_PTR_GE'

The macro SCM_PTR_GE doesn't exist anymore.

2.

threads.c: In function `scm_threads_mark_stacks':
threads.c:977: error: `sizet' undeclared (first use in this function)
threads.c:977: error: (Each undeclared identifier is reported only once
threads.c:977: error: for each function it appears in.)
threads.c:977: warning: left-hand operand of comma expression has no effect
threads.c:977: error: parse error before "stack_len"
threads.c:977: error: too few arguments to function `scm_mark_locations'

3.

stime.c: In function `scm_gmtime':
stime.c:424: warning: implicit declaration of function `gmtime_r'
stime.c:424: warning: assignment makes pointer from integer without a cast

On HP-UX, the gmtime_r() prototype isn't declared unless -D_POSIX_C_SOURCE=199506L is passed to the C compiler.

4.

It seems that alloca.h must be included on HP-UX even when Guile is built with GCC.

eval.c: In function `deval':
eval.c:2910: warning: implicit declaration of function `alloca'

5.

gc_os_dep.c: In function `scm_get_stack_base':
gc_os_dep.c:1881: warning: unused variable `result'

GCC 3.3.2 seems to be too smart for the initialization in gc_os_dep.c.

6.

I think that the following warnings are caused by a bug in GCC 3.3.2. According to my copy of "Programming in C" it should be okay to pass a char instead of an int to iscntrl() etc.

backtrace.c: In function `display_frame_expr':
backtrace.c:403: warning: subscript has type `char'

numbers.c: In function `mem2uinteger':
numbers.c:2337: warning: subscript has type `char'
numbers.c:2339: warning: subscript has type `char'
numbers.c:2348: warning: subscript has type `char'
numbers.c:2352: warning: subscript has type `char'
numbers.c: In function `mem2decimal_from_point':
numbers.c:2425: warning: subscript has type `char'
numbers.c:2506: warning: subscript has type `char'
numbers.c:2514: warning: subscript has type `char'
numbers.c: In function `mem2ureal':
numbers.c:2592: warning: subscript has type `char'

7.

I can now link Guile but I get the following runtime error message:

Internal error: Need to upgrade mutex size





reply via email to

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