Richard Levitte - VMS Whacker wrote:
>
> DEC C for VMS is getting really mean. Version 6.2 (latest, as far as
> I know) spews out a message when a (char *) cast is done to a function
> pointer and vice versa. Guess what it finds a little here and there
> in OpenSSL? :-)
Presumably this is because it is potentially possible for them to be
incompatible (e.g. on segmented architectures).
> Changing (char *) to (void *) (that has been know to do magic
> sometimes) doesn't help.
>
> It's especially visible in all the places where lh_doall_arg() gets a
> casted function pointer as last argument (for example, see
> CRYPTO_mem_leaks_cb() in crypto/mem_dbg.c)...
>
> I can imagine using silly things like a struct around the function
> pointer to get rid of that warning. Other solutions? Comments?
Time for more typesafety?
Cheers,
Ben.
--
SECURE HOSTING AT THE BUNKER! http://www.thebunker.net/hosting.htm
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]