www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/03/08:44:23

From: "Alexandre Devaure" <Alexandre DOT Devaure AT leroy-autom DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: structures size
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <TCVP4.3574$724.7298116@nnrp5.proxad.net>
Date: Wed, 03 May 2000 13:14:27 GMT
NNTP-Posting-Host: 194.51.236.59
X-Complaints-To: abuse AT proxad DOT net
X-Trace: nnrp5.proxad.net 957359667 194.51.236.59 (Wed, 03 May 2000 15:14:27 CEST)
NNTP-Posting-Date: Wed, 03 May 2000 15:14:27 CEST
Organization: Guest of ProXad - France
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
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. The option worked on gcc 2.8 so, the
fact it has no effect on gcc 2.95 is bug or this option is now disable?
TIA
Alex


- Raw text -


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