X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: pointers in Strucrure assignment problem Date: 7 Jul 2005 14:18:43 GMT Lines: 15 Message-ID: <3j4ru3Fo95j8U3@news.dfncis.de> References: <1120713425 DOT 526371 DOT 222910 AT g47g2000cwa DOT googlegroups DOT com> <200507071350 DOT j67DopIv008800 AT envy DOT delorie DOT com> X-Trace: news.dfncis.de zc/8UyYFeNeOFCO1EXAe1AUio7u38Pv2gvEO4VSnQ1oLIK+NWLcETdjfX9 X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DJ Delorie wrote: > > sizeof(char) is 1 by definition, > GCC supports at least one chip where "char" is four bytes. Not for the meaning of a "byte" as defined by the C language. sizeof(char) will still be 1, even on that platform. The trick is that as far as C is concerned this platform just has 32 bits in a "byte". This is documented by reporting CHAR_BIT==32. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.