Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Jeff Eisen <jne@iris.com>
Subject: mixing 4 byte and 8 byte pointers
Date: 1996/08/07	[thread overview]
Message-ID: <4u907v$12s@mtinsc01-mgt.ops.worldnet.att.net> (raw)


I am trying to mix 4 byte and 8 byte pointers on an Alpha running OSF.

(Someone else is dealing with the compilation, so excuse the fact that I 
don't know the exact compiler flags, etc.)

Some of my files are compiled using 4 byte pointers.
Some of my files are compiled using 8 byte pointers (with 0 for the high 4 
bytes).

Is it possible for these files to communicate with each other using some 
kind of pragma or keyword in the header files to distinguish the 
compilations.  For example, on the PC, 16-bit Windows has NEAR and FAR 
pointers, as in "char FAR *" or "char NEAR *".  Is there anything like 
that that I can use on the Alpha.

Thanks in advance.
Email responses preferred.

Jeff Eisen
jne@iris.com







             reply	other threads:[~1996-08-07  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-07  4:00 Jeff Eisen [this message]
1996-08-09  4:00 ` mixing 4 byte and 8 byte pointers Joe Mario
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