Path: utzoo!utgpu!attcan!uunet!husc6!cmcl2!rutgers!bellcore!tness7!tness1!sugar!ficc!peter From: peter@ficc.UUCP (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Absolute size of 'short' Message-ID: <1206@ficc.UUCP> Date: 4 Aug 88 13:46:27 GMT References: <214@ISIDAPS5.UUCP> <9641@dartvax.Dartmouth.EDU> <8300@smoke.ARPA> Organization: SCADA Lines: 21 In article <8300@smoke.ARPA>, gwyn@smoke.ARPA (Doug Gwyn ) writes: > A short is required to be at least 16 bits... > There are undobtedly toy "C" implementations that don't follow > the rules. When one is trying to fit ones software into a microcontroller with limited stack space, a compiler that expands a char to 16 bits on a function call can equally well be considered a toy. In this environment, of course, you aren't likely to be worried about porting "news" to the machine, so of course ANSIness is relatively unimportant. Still and all, categorizing compilers generating code for tight environments as "toys" isn't very nice. Sigh... shoulda stuck with FORTH. -- Peter da Silva, Ferranti International Controls Corporation, sugar!ficc!peter. "You made a TIME MACHINE out of a VOLKSWAGEN BEETLE?" "Well, I couldn't afford another deLorean." "But how do you ever get it up to 88 miles per hour????"