Related articles |
---|
sizeof(int) in 64-bit C compilers d.sand@ix.netcom.com (1995-12-17) |
Re: sizeof(int) in 64-bit C compilers ganswijk@xs4all.nl (Jaap van Ganswijk) (1995-12-18) |
Re: sizeof(int) in 64-bit C compilers larryr@cybergate.com (Larry Rau) (1995-12-18) |
Re: sizeof(int) in 64-bit C compilers streich@roo.mti.sgi.com (1995-12-19) |
Re: sizeof(int) in 64-bit C compilers d.sand@ix.netcom.com (1995-12-19) |
Re: sizeof(int) in 64-bit C compilers kennell@cs.purdue.edu (Richard L. Kennell) (1995-12-19) |
Re: sizeof(int) in 64-bit C compilers karsten@tdr.dk (1995-12-28) |
Re: sizeof(int) in 64-bit C compilers anton@complang.tuwien.ac.at (1995-12-28) |
From: | streich@roo.mti.sgi.com (Mark Streich) |
Newsgroups: | comp.compilers |
Date: | 19 Dec 1995 14:23:54 -0500 |
Organization: | Silicon Graphics, Inc. |
References: | 95-12-094 95-12-104 |
Keywords: | C, architecture |
>The Mips/SGI compilers define "int" as 32 bits in 32-bit-pointer code,
>and 64 bits in 64-bit-pointer code.
This is incorrect. "int" is always 32 bits in either 32- or 64-bit
pointer code. "long" is 32 bits in 32-bit code, and 64 bits in 64-bit
code. "long long" is always 64 bits.
Mark Streich
streich@sgi.com
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.