Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Yet another GCC question

Author: Russell Reagan

Date: 18:53:45 12/05/03

Go up one level in this thread


On December 05, 2003 at 21:24:19, Robert Hyatt wrote:

>struct BOOK_POSITION {
>  long long signature;
>  unsigned int status;
>  float learn;
>  int CAP;
>}

This also works:

struct BOOK_POSITION
{
  long long signature  __attribute__ ((packed));
  unsigned int status  __attribute__ ((packed));
  float learn          __attribute__ ((packed));
  int CAP              __attribute__ ((packed));
};



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.