delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/21/00:33:11

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in DJGPP or some my Error?
Date: Mon, 20 Jan 1997 21:28:55 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 16
Message-ID: <32E45417.540A@cs.com>
References: <32E4505B DOT 7ED0 AT post DOT comstar DOT ru>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Dim Zegebart wrote:
> 
> What i missing ?
> Is it another trick of memory alligment ?

GCC is a 32-bit compiler and aligns all structure members on 4-byte
boundaries by default.  See the Frequently Asked Questions List
(v2/faq210b.zip) chapter 22.9 for explanations and solutions.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| "Starting flamewars since 1993"  |   http://www.cs.com/fighteer   |
|  *** NOTICE ***  This .signature is generated randomly.           |
|                  If you don't like it, sue my computer.           |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019