From: coates@kelvin.physics.uq.oz.au (Tony Coates)
Subject: Re: Pointer comparison with DEC AXP (Alpha) cxx
Date: 23 Mar 94 20:43:24 [thread overview]
Message-ID: <COATES.94Mar23204324@kelvin.physics.uq.oz.au> (raw)
In an earlier posting on this subject, I made a terrible mistake. I
had thought that I had a compiler warning with DEC's cxx compiler that
was telling me that in a comparision (<) of two 64-bit pointers, the
pointers were being coerced to 32-bit integers before the comparison
was made. This had me worried.
I discovered today a terrible error on my part. Ridiculous as
this may seem, I was looking at the correct line number, but the wrong
file. I was looking at the header file rather than the .cc file. It
was an unfortunate co-incidence that the header file had, on the same
line, an inline function with the same pointers involved. In fact,
the warning was due to a coercion of a pointer to `int', which was
quickly fixed by changing the coercion to `long'.
My apologies for my spurious post.
Tony.
_____________________________________________________________________________
A.B.Coates, Dept. of Physics,
The University of Queensland QLD 4072 Australia.
Email: coates@physics.uq.oz.au
Phone: (07/+617) 365-3424 Fax: (07/+617) 365-1242
Disclaimer: The University is ignorant of my
opinions, let alone guilty ...
_____________________________________________________________________________
--
_____________________________________________________________________________
A.B.Coates, Dept. of Physics,
The University of Queensland QLD 4072 Australia.
Email: coates@physics.uq.oz.au
Phone: (07/+617) 365-3424 Fax: (07/+617) 365-1242
Disclaimer: The University is ignorant of my
opinions, let alone guilty ...
_____________________________________________________________________________
reply other threads:[~1994-03-24 1:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox