Date: Thu, 4 May 2000 09:27:09 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Alexandre Devaure cc: djgpp AT delorie DOT com Subject: Re: structures size In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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?