www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/07/08:20:31

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What's this? A bug?
Date: Thu, 7 Oct 1999 12:13:23 +0200
Organization: NetVision Israel
Lines: 13
Message-ID: <Pine.SUN.3.91.991007121008.22174K-100000@is>
References: <MO8+3UJ05Q5a092yn AT jagor DOT srce DOT hr> <7tgs10$dhd$1 AT solomon DOT cs DOT rose-hulman DOT edu>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 939291128 20042 199.203.121.2 (7 Oct 1999 10:12:08 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 7 Oct 1999 10:12:08 GMT
X-Sender: eliz AT is
In-Reply-To: <7tgs10$dhd$1@solomon.cs.rose-hulman.edu>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 6 Oct 1999, Damian Yerrick wrote:

> I challenge c.o.m.d readers to
> find *one* C/C++ compiler on *any* platform that defines 'short'
> as anything other than a 16-bit integer.

Challenge taken ;-)

On many embedded DSP processors all integral data types, including 
char, short, int, long, you name it--all of them have the same length, 
typically 32 bits.  This is because the target machine is a RISC CPU
which is optimized for a single integral data type.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019