Author: Gian-Carlo Pascutto
Date: 02:15:27 06/27/00
Go up one level in this thread
On June 26, 2000 at 21:25:05, Robert Hyatt wrote: >That ought to work ok, GCC barfs on it. :( >but it has some severe portability problems. The >ANSI standard doesn't specify from which "end" of the word the bit fields >start. Nor does it specify whether the default is "signed" or "unsigned". I dont get this. The bitfield type is specified as an unsigned int. So the bitfields must all be unsigned int's too, right ? Now, if we set an unsigned int to 0, isn't it safe to assume the idividual fields will also be 0? In other words, are there any machines were an unsigned int that equals zero != binary 000000..0? -- GCP
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.