In 1.8.0, in unif.c, the static void function string_set() "returns"
the value of void function scm_c_string_set_x().
That type of construction is non-standard, I think, (but I couldn't
find a good reference for it). FWIW, the AIX xlc compiler believes it
to be an error, even though GCC has no problem with it and MS Visual
C++ just warns about that type of construction.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--- unif_v1.192.2.4.c 2006-03-11 08:45:53.000000000 -0800
+++ unif.c 2006-03-11 08:45:53.000000000 -0800
@@ -368,9 +368,9 @@
{
pos += h->base;
if (SCM_I_ARRAYP (h->array))
- return scm_c_string_set_x (SCM_I_ARRAY_V (h->array), pos, val);
+ scm_c_string_set_x (SCM_I_ARRAY_V (h->array), pos, val);
else
- return scm_c_string_set_x (h->array, pos, val);
+ scm_c_string_set_x (h->array, pos, val);
}
static void
_______________________________________________
Bug-guile mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/bug-guile