guile-cvs
[Top][All Lists]
Advanced

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

guile/guile-core/libguile snarf.h


From: Marius Vollmer
Subject: guile/guile-core/libguile snarf.h
Date: Sun, 06 May 2001 14:19:53 -0700

CVSROOT:        /cvs
Module name:    guile
Changes by:     Marius Vollmer <address@hidden> 01/05/06 14:19:53

Modified files:
        guile-core/libguile: snarf.h 

Log message:
        (SCM_FUNC_CAST_ARBITRARY_ARGS): Use "SCM (*)()" for C++
        as well.  "SCM (*)(...)" does not work on RedHat 7.1.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/libguile/snarf.h.diff?cvsroot=OldCVS&tr1=1.43&tr2=1.44&r1=text&r2=text

Patches:
Index: guile/guile-core/libguile/snarf.h
diff -u guile/guile-core/libguile/snarf.h:1.43 
guile/guile-core/libguile/snarf.h:1.44
--- guile/guile-core/libguile/snarf.h:1.43      Thu Mar 15 21:11:34 2001
+++ guile/guile-core/libguile/snarf.h   Sun May  6 14:19:53 2001
@@ -52,7 +52,12 @@
 
 
 #if defined(__cplusplus) || defined(GUILE_CPLUSPLUS_SNARF)
-#define SCM_FUNC_CAST_ARBITRARY_ARGS SCM (*)(...)
+
+/* This used to be "SCM (*)(...)" but GCC on RedHat 7.1 doesn't seem
+   to like it.
+ */
+#define SCM_FUNC_CAST_ARBITRARY_ARGS SCM (*)()
+
 #else
 #define SCM_FUNC_CAST_ARBITRARY_ARGS SCM (*)()
 #endif



reply via email to

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