Re: many -Wincompatible-pointer-types on clang with gdb-7.9
Pedro Alves <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 02/27/2015 11:23 PM, Jack Howarth wrote: > Pedro, > I see... > > #ifdef BUILDING_LIBGUILE > typedef SCM (* scm_t_subr) (); > #else > typedef void (*scm_t_subr)(); > #endif > > for the current guile 2.0.11 release. Thanks. Not complaining, really. That's pedantically more correct as assignment between function pointer and 'void *' is invalid ISO C (though POSIX makes it valid, because dlsym). Thanks, Pedro Alves