unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* More problems on HP-UX
@ 2004-04-26 21:30 Andreas Vögele
  2004-04-27 22:41 ` More problems on HP-UX ... 3 Kevin Ryde
                   ` (6 more replies)
  0 siblings, 7 replies; 26+ messages in thread
From: Andreas Vögele @ 2004-04-26 21:30 UTC (permalink / raw)


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



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2004-05-24 18:40 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-26 21:30 More problems on HP-UX Andreas Vögele
2004-04-27 22:41 ` More problems on HP-UX ... 3 Kevin Ryde
2004-05-01 12:55   ` Andreas Vögele
2004-05-01 20:59     ` Kevin Ryde
2004-05-02  7:06       ` Andreas Vögele
2004-05-02 22:56         ` Kevin Ryde
2004-04-27 22:51 ` More problems on HP-UX ... 7 Kevin Ryde
2004-04-28  7:19   ` Andreas Vögele
2004-04-27 23:04 ` More problems on HP-UX ... 6 Kevin Ryde
2004-04-28  7:09   ` Andreas Vögele
2004-04-30 23:27     ` Kevin Ryde
2004-04-27 23:31 ` More problems on HP-UX ... 4 Kevin Ryde
2004-04-28  7:43   ` Andreas Vögele
2004-04-28 21:27     ` Andreas Vögele
2004-05-09  0:47       ` Kevin Ryde
2004-05-09 16:34         ` Andreas Vögele
2004-04-28  0:09 ` More problems on HP-UX ... 1 Kevin Ryde
2004-04-28  6:10   ` Andreas Vögele
2004-04-28 21:25     ` Andreas Vögele
2004-04-28  0:13 ` More problems on HP-UX ... 2 Kevin Ryde
2004-04-28  6:36   ` Andreas Vögele
2004-04-30 23:40     ` Kevin Ryde
2004-05-19  0:03       ` Kevin Ryde
2004-05-24 18:40       ` Marius Vollmer
2004-04-28  0:36 ` More problems on HP-UX ... macos Kevin Ryde
2004-04-28  7:59   ` Andreas Vögele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).