From: Fabrice LETE Newsgroups: comp.os.msdos.djgpp Subject: structure size rounded to int size? Date: Thu, 21 Oct 1999 15:19:29 +0200 Organization: Université de Mons-Hainaut - Faculté des Sciences Informatique(1 Candidature) Lines: 17 Message-ID: <380F12E1.74D9DE4@umh.ac.be> NNTP-Posting-Host: peon05.umh.ac.be Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.06 [fr] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com If I have: typedef struct FOO { short a; long b; }; sizeof(FOO) give me 8... What can I do to avoid the problem (I guess it's a switch to use with the compiler...)? (note: I use Rhide, I suppose that it's an option to switch on somewhere, no?) Thanks for any advice! Fabrice Lété