www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
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> <TG4ze.17390$pa3 DOT 15032 AT newsread2 DOT news DOT atl DOT earthlink DOT net> <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 <dj AT delorie DOT com> 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 <limits.h> 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |