Fix compiler warnings in generated code when using -std=c++98 -std=gnu89 -pedantic -Wreturn-type
This commit is contained in:
parent
f39ed94419
commit
3191473523
9 changed files with 80 additions and 60 deletions
|
|
@ -27,8 +27,7 @@ scm_module_variable (SCM module, SCM sym)
|
|||
#endif
|
||||
|
||||
#if SCM_MAJOR_VERSION >= 2
|
||||
// scm_c_define_gsubr takes a different parameter type
|
||||
// depending on the guile version
|
||||
/* scm_c_define_gsubr takes a different parameter type depending on the guile version */
|
||||
|
||||
typedef scm_t_subr swig_guile_proc;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue