diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 50b47d132..124281f01 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,8 @@ +2005-06-19 Han-Wen Nienhuys + + * guile.c (main): use pointer iso. array. This fixes compile error + on GCC 4. + 2005-06-07 Neil Jerram * srcprop.c (scm_source_properties): Use SCM_NECONSP instead of diff --git a/libguile/guile.c b/libguile/guile.c index a6f1b7a25..8820bded6 100644 --- a/libguile/guile.c +++ b/libguile/guile.c @@ -88,8 +88,8 @@ main (int argc, char **argv) { #ifdef DYNAMIC_LINKING /* libtool automagically inserts this variable into your executable... */ - extern const scm_lt_dlsymlist lt_preloaded_symbols[]; - scm_lt_dlpreload_default (lt_preloaded_symbols); + extern const scm_lt_dlsymlist *lt_preloaded_symbols; + scm_lt_dlpreload_default ((void*)lt_preloaded_symbols); #endif scm_boot_guile (argc, argv, inner_main, 0); return 0; /* never reached */