Hi,
On Sun 04 Apr 2010 17:15, "Zeeshan Ali (Khattak)" <[email protected]> writes:
> <code>
> static SCM
> scm_g_irepository_require (SCM scm_repository,
> SCM scm_namespace,
> SCM scm_version,
> SCM scm_flags)
> {
> const char *version;
>
> if (SCM_UNBNDP (scm_version))
> version = NULL;
> else
> version = scm_to_locale_string (scm_version);
> ...
> }
>
> scm_c_define_gsubr ("g-irepository-require", 2, 2, 0,
> scm_g_irepository_require);
>
>
> </code>
>
> Whats happening is that my scheme code is not passing any value to
> the optional argument version and guile is not making sure that the
> argument is unbound. Is this a regression or some intentional change?
I think you might need to make clean && make, in Guile and in your
project. (The actual value for SCM_UNDEFINED changed, and I have seen
cases in which automake doesn't get the deps right. This sort of thing
won't happen after 2.0.)
Andy
--
http://wingolog.org/