Re: staging broken with --enable-debugging-features

Etienne Gagnon <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization UQAM
Message-ID <[email protected]>
Hi David,

> native.c: In function `_svmf_bind_native_method':
> native.c:607: warning: ISO C forbids conversion of object pointer to function pointer type

The code converts a "lt_ptr" to a function pointer.  Looking at ltdl.h, 
I found that "lt_ptr" is a "void *".  In my understanding of the ISO C 
standard, "void" is not an object, it is "nothing/everything".  So, this 
warning makes little sense to me.  Unless I (mentally) mis-preprocessed 
the definition of lt_ptr in the header file.

I think you should really ask about it on the GCC mailing list.

Etienne

-- 
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/

_______________________________________________
SableVM-devel mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-devel
signature.asc (application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBtzFIjyrJi4rH84gRAnazAJ9dGSgc8/DHdshB7PnWFlVHP1Tu7gCeJ8pb
nBY62+quRoUK1tPpa88aV+M=
=l4Kl
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.