mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
(SCM_FUNC_CAST_ARBITRARY_ARGS): Use "SCM (*)()" for C++
as well. "SCM (*)(...)" does not work on RedHat 7.1.
This commit is contained in:
parent
7874f3d000
commit
e1fbffa9f4
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue