This is the mail archive of the
mailing list for the GCC project.
Re: warning for typedef'ed type
> In particular, I'm using guile's gh_ interface, and SCM (the type for
> scheme values) is just a long. I seem to be calling gh_cons with a
> regular int (not a valid SCM value, even though they have the same
> underlying type). Is there any way to force gcc to warn about where this
No, gcc does not warn about this. If it would, typedefs would be
If you want to find the places where you pass an incorrect thing, make
scm a struct for a moment, and see what error messages you get.