delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/22/02:15:44

From: massarin AT alpha3 DOT cram DOT enel DOT it
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Struct with array. HELP
Date: 22 Apr 1998 05:58:00 GMT
Organization: ENEL Ricerca PEA
Lines: 14
Distribution: inet
Message-ID: <6hk0t8$avd2@willy.cra.enel.it>
References: <6hi61a$avd1 AT willy DOT cra DOT enel DOT it>
Reply-To: massarin AT alpha3 DOT cram DOT enel DOT it
NNTP-Posting-Host: alpha3.cram.enel.it
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <6hi61a$avd1 AT willy DOT cra DOT enel DOT it>, massarin AT alpha3 DOT cram DOT enel DOT it writes:

Excuse me for my previous post.

I've read the faq again and I've found the solution:


 char x[n] __attribute__ ((packed));

or
 
 compile with -fstruct-pack

Thanks.

- Raw text -


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