[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #21378] guile 1.8.3 numbers.c fails to compile in Solaris 9
From: |
David Diffenbaugh |
Subject: |
[bug #21378] guile 1.8.3 numbers.c fails to compile in Solaris 9 |
Date: |
Wed, 06 Feb 2008 16:23:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.11) Gecko/20071201 Firefox/2.0.0.11 |
Follow-up Comment #6, bug #21378 (project guile):
The patch allowed numbers.c to be compiled without a problem, however it
looks like the same issue occurs in libguile/strings.c
"strings.c", line 132: reference to static identifier "scm_double_cell" in
extern inline function
This compiles by replacing
SCM_C_INLINE_KEYWORD SCM with only SCM on line 127
The only other problem I encountered was with the file read.c Sun CC doesn't
have the predefined macro __FUNCTION__. I believe __FUNCTION__ should return
the undecorated name of the enclosing function (as a string). Since it only
occurs twice in the file I just replaced it with the name of the enclosing
function which allowed the compile to complete. Appears to run fine after
installation.
I have your original changes plus the two mentioned above attached in the
file below.
Thanks,
Dave D.
(file #14971)
_______________________________________________________
Additional Item Attachment:
File name: guile.inline-2.patch Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21378>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/