many -Wincompatible-pointer-types on clang with gdb-7.9
Pedro Alves
palves@redhat.com
Sat Feb 28 07:28:00 GMT 2015
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
More information about the Gdb
mailing list