delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/03/16:44:21

Date: Tue, 3 Aug 1999 10:56:41 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: zidharta AT geocities DOT com
cc: djgpp AT delorie DOT com
Subject: Re: what is _attribute_((packed)) ?? why DJGPP use it?
In-Reply-To: <7o5doq$gj8$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.990803105356.1847R-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 3 Aug 1999 zidharta AT geocities DOT com wrote:

> I was looking at this bitmap loader source code ... and I noticed that
> he used __attribute_((packed)) ... and I dont understand what is it...
> I ve been looking at my C library help file and I couldnt find anything
> about it ...

That's because this is a feature of the compiler, not of the library.  It 
is described in the GCC docs, under "C Extensions".  Some additional info 
can be found in the DJGPP FAQ, sections 22.10 and 18.5.

- Raw text -


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