guile-devel
[Top][All Lists]
Advanced

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

AIX patches to 1.6.3


From: Albert Chin
Subject: AIX patches to 1.6.3
Date: Sun, 6 Apr 2003 18:29:01 -0500
User-agent: Mutt/1.4i

1. Trailing comma in enum illegal.
2. The AIX C compiler doesn't like variables defined as static
   somewhere then redefined as something else later one. Define it
   once to what it should be in the compilation unit.
3. Fix incorrect return value for prep_hashsets (forgot static
   keyword)

-- 
albert chin (address@hidden)

-- snip snip
--- libguile/c-tokenize.lex.orig        2003-04-06 15:59:36.000000000 -0500
+++ libguile/c-tokenize.lex     2003-04-06 15:59:48.000000000 -0500
@@ -28,7 +28,7 @@
     SKIP,
     MULTILINE,
     MULTILINE_COOKIE,
-    COOKIE,
+    COOKIE
 };
 
 enum t_state state = SKIP;
--- libguile/eval.h.orig        2003-04-06 15:59:58.000000000 -0500
+++ libguile/eval.h     2003-04-06 16:00:11.000000000 -0500
@@ -178,7 +178,10 @@
 extern SCM scm_sym_else;
 extern SCM scm_sym_apply;
 extern SCM scm_sym_set_x;
+
+#ifndef STATIC_SCM_SYM_ARGS
 extern SCM scm_sym_args;
+#endif
 
 extern SCM scm_f_apply;
 
--- libguile/goops.c.orig       2003-04-06 16:00:22.000000000 -0500
+++ libguile/goops.c    2003-04-06 16:00:51.000000000 -0500
@@ -54,7 +54,10 @@
 #include "libguile/debug.h"
 #include "libguile/dynl.h"
 #include "libguile/dynwind.h"
+
+#define STATIC_SCM_SYM_ARGS
 #include "libguile/eval.h"
+
 #include "libguile/hashtab.h"
 #include "libguile/keywords.h"
 #include "libguile/macros.h"
@@ -597,7 +600,7 @@
 }
 #undef FUNC_NAME
 
-void
+static void
 prep_hashsets (SCM class)
 {
   unsigned int i;




reply via email to

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