1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

(main): use pointer iso. array. This fixes compile error

on GCC 4.
This commit is contained in:
Han-Wen Nienhuys 2005-06-19 13:12:00 +00:00
parent 99f7ecf744
commit bde70eddce
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-06-19 Han-Wen Nienhuys <hanwen@xs4all.nl>
* guile.c (main): use pointer iso. array. This fixes compile error
on GCC 4.
2005-06-07 Neil Jerram <neil@ossau.uklinux.net>
* srcprop.c (scm_source_properties): Use SCM_NECONSP instead of

View file

@ -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 */