> appro> Just to make it clear. Are you going to pass the union by
> appro> reference of by value? You have to pass by reference which is
> appro> equivalent to what I proposed, but without unions. Passing by
> appro> value would be wrong and compiler should complain.
> 
> As you have probably seen by now, I don't pass around any unions at
> all, I just use them as instruments to convert pointers.
And what if sizeof (void (*)()) != sizeof (void *)? Think MS-DOS and all
those sick small/medium/large/huge memory models if you have to. I
realize it's a sick thought, but that's what the compiler complains
about and that's why "such a cast is not permitted by the standard."
> You see, I
> absolutely wanted to keep binary compatibility for now, or we would
> see a lot of things break silently all over the place,
Why not simply relax the compiler with /STANDARD=RELAXED or whatever:-)

Cheers. Andy.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to