----- Original Message ----- From: "Marvin Humphrey" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Friday, July 08, 2005 5:08 PM Subject: Re: warnings with Inline C OOP recipe
> > 4 bytes on this machine is a long. If I typecast the pointer to an > intermediate long, that would eliminate the warning here, but it > wouldn't be portable to any machine that uses 8 bytes for pointer > values. > You could, at the pre-process stage, detect these architectural differences and have pre-processor directives in place to correctly handle these varying situations. I don't think I'd bother ... but I think it's do-able, even an Inline::C environment :-) Cheers, Rob
