Hi,

[EMAIL PROTECTED] (Ludovic Courtès) writes:

> This is because the argument to `gh_new_procedure ()' is *not* a
> zero-argument function, but a function with *any* number of arguments.
> Until the C99 standard (included), "void (* foo) ()" means "pointer to a
> function taking any number of arguments"; in C++, it means "pointer to a
> function with no arguments".  Future C standards will probably follow
> C++ on that, as noted in the "Future Language Directions" of C99
> (Section 6.11.6):
>
>   The use of function declarators with empty parentheses (not
>   prototype-format parameter type declarators) is an obsolescent
>   feature.
>
> This means Guile will eventually have to find another solution.

I just filed a bug:

  https://savannah.gnu.org/bugs/index.php?23681

Thanks,
Ludovic.



Reply via email to