[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] CVS-Guile compilation problems
From: |
Matthias Koeppe |
Subject: |
[Patch] CVS-Guile compilation problems |
Date: |
15 Feb 2001 12:37:42 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 |
I compile Guile with the Sun Workshop 6 update 1 ("Forte") compiler. I
have run into problems at two places, where gcc extensions or very
recent additions to the C standard are used.
1) Please don't use C++-style comments, since most compilers don't
accept them unless you pass them an extra flag. There is no
configure test for such a flag.
2) Labels at ends of blocks are a gcc extension.
A patch is included below.
Index: libguile/eval.c
===================================================================
RCS file: /cvs/guile/guile-core/libguile/eval.c,v
retrieving revision 1.196
diff -u -r1.196 eval.c
--- libguile/eval.c 2001/02/13 01:09:00 1.196
+++ libguile/eval.c 2001/02/15 11:32:11
@@ -3836,9 +3836,9 @@
SCM scm_system_transformer;
-// XXX - scm_i_eval is meant to be useable for evaluation in
-// non-toplevel environments, for example when used by the debugger.
-// Can the system transform deal with this?
+/* XXX - scm_i_eval is meant to be useable for evaluation in
+ non-toplevel environments, for example when used by the debugger.
+ Can the system transform deal with this? */
SCM
scm_i_eval_x (SCM exp, SCM env)
Index: libguile/symbols.c
===================================================================
RCS file: /cvs/guile/guile-core/libguile/symbols.c,v
retrieving revision 1.76
diff -u -r1.76 symbols.c
--- libguile/symbols.c 2001/02/02 04:56:25 1.76
+++ libguile/symbols.c 2001/02/15 11:32:11
@@ -116,6 +116,7 @@
return sym;
}
next_symbol:
+ (void) 0;
}
}
--
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe
- [Patch] CVS-Guile compilation problems,
Matthias Koeppe <=