Re: pointer casts



> > GCC has a non-standard extension that allows implicit casts
> > betweeen (void *) and any function pointers.
>
> "Even with an explicit cast, it is invalid to convert a function
> pointer to an object pointer or a pointer to void, or vice versa."

Violations of this rule could show up as a problem on architectures where
function pointers are "special," e.g. IA-64 and PPC64. Is GTK working on
these arches?

Regards,
Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]