Re: More Weird Behaviour on a DEC ALPHA
Posted in 2000
Rekaish Bhardwaj wrote: > > Continuing on with this weird behaviour on a DEC machine. > Is anyone aware of any problems with a 64 bit DEC machine. ? > > Specifically, it seems as if we are getting problems with memory > allocation. We have a structure containing various datatypes, > some of which are INTEGERS, and the data assigned to > those integers seems to overwrite the data stored in subsequent fields. > > We do get warnings during compilation e.g.. > > cc: Warning: action_history.ec, line 112: In this statement, the referenced > type of the pointer value "&p_subscriber_id" is "int", which is not > compatible with "long". (ptrmismatch) > poplong(&p_subscriber_id); > > Now I thought that an INFORMIX integer was the equivalent of a 'C' long > datatype > Is this different on a 64 bit machine. > > If so is there a way round it. Have you spoken to Tech Support? DEC Alpha does perform byte swapping, so there is potential for problems. For example, HPL will not load FLOATS properly in version 9.20. You have to load them into DECs and then convert to FLOAT. I'm sure there are plenty of other problems. :-( Cheers, -- Mark. +----------------------------------------------------------+-----------+ | Mark D. Stock mailto:mdstock@mydas.freeserve.co.uk |//////// /| | http://www.informix.com http://www.informixhandbook.com |///// / //| | http://www.iiug.org +-----------------------------------+//// / ///| | |This email will self-destruct in |/// / ////| | |10 sec. If you received this email |// / /////| | |in error, sorry about the mess. |/ ////////| +----------------------+-----------------------------------+-----------+