[cfe-dev] MacRuby issues

Eli Friedman eli.friedman at gmail.com
Fri Mar 27 00:01:19 PDT 2009


2009/3/26 रजनीश <rdogra at earthlink.net>:
> on side note. can you tell me how to fix this warning.  it is
> complaining about goto *(*reg_pc));
>
> ./vm.inc:2994:594: warning: incompatible integer to pointer conversion
> passing 'VALUE' (aka 'unsigned long'), expected 'void *'

I added that warning... it should go away with an explicit cast to
void*.  I can remove it if this sort of thing is common, but it seems
like a good idea to require a pointer for indirect gotos.  Also see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32122.

-Eli




More information about the cfe-dev mailing list