Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Comparing 64-bit pointers with Alpha cxx
@ 1994-03-22 20:57 Tony Coates
  1994-03-23  7:09 ` Andrew Myers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tony Coates @ 1994-03-22 20:57 UTC (permalink / raw)


We have just received the DEC cxx compiler for our AXP (Alpha) running
OSF/1.3.  We don't have the printed documentation for it yet,
unfortunately.  I am having a problem, because I need to compare two
pointers.  It appears that cxx, like the DEC c89 C compiler, doesn't
support 64-bit integer data types, for some arcane reason.  And,
unfortunately, the pointer comparison (<) seems to first require an
implicit conversion to an integer type.  So, I am getting warmings
about conversion of pointers to a type which is too small, which I
consider a pretty serious warning.
	Can anyone give me a hint as to how one can compare 64-bit
pointers, or how to avoid this implicit conversion to integer?  I
would be really grateful for any hints at all that anyone can give to
me.
	Thanks for any help in advance,
					Cheers,
							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 ...
_____________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-03-23 22:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-22 20:57 Comparing 64-bit pointers with Alpha cxx Tony Coates
1994-03-23  7:09 ` Andrew Myers
1994-03-23 17:08 ` John Tromp
1994-03-23 22:03 ` Gerald Feldman USG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox