delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/04/01:49:41

Date: Thu, 4 May 2000 09:27:09 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Alexandre Devaure <Alexandre DOT Devaure AT leroy-autom DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: structures size
In-Reply-To: <TCVP4.3574$724.7298116@nnrp5.proxad.net>
Message-ID: <Pine.SUN.3.91.1000504092557.16176B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 3 May 2000, Alexandre Devaure wrote:

> I'd like the size of my structures is the same that in Borland C because my
> program need to read a structure in flash written by a program developed
> under Borland C. So, I want to use the -fpack-struct option at compilation
> time. But it has no effect on the structure size and I need to add the
> packed attribute on each structure.

C programs or C++ programs?

Can you post a short test program and its compilation command line, which 
can be used to reproduce this problem?

- Raw text -


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