delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/13/17:50:19

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Wed, 13 May 2015 17:50:08 -0400
Message-Id: <201505132150.t4DLo8ai009688@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to:
<CAA2C=vAK_T9ixd6YpNrd2LYL80Lau-Dbf+T5vo89AdYXS0WYOw AT mail DOT gmail DOT com>
(djgpp AT delorie DOT com)
Subject: Re: bad pragma in dir.h? (and our structrure packing)
References: <CAA2C=vCgLHdH3BJxastGzUsJzhiRddytiYwB1MP_aaiiVpC4nA AT mail DOT gmail DOT com>
<83k2wcjt8e DOT fsf AT gnu DOT org>
<CAA2C=vB-YiGkyx5dJpa=hcBh0O4_NiEKh2tKm5OHyNX3vW7HsQ AT mail DOT gmail DOT com>
<83bnhojnwh DOT fsf AT gnu DOT org>
<CAA2C=vAEKFUktuYXGN_eYUEY0JuHQgXR_-q-N8xox=7PHPEqqw AT mail DOT gmail DOT com>
<838ucsjnbl DOT fsf AT gnu DOT org> <CAA2C=vAK_T9ixd6YpNrd2LYL80Lau-Dbf+T5vo89AdYXS0WYOw AT mail DOT gmail DOT com>
Errors-To: nobody AT delorie DOT com

> >> -#pragma pack(4)
> >> +#pragma pack()
> >
> > "pack()" or "pack(0)"?
> >
> 
> pack(), without the 0.

FYI, in gcc 2.7.2, pack() and pack(0) were internally identical.

gcc 2.95 introduced the push/pop option.

- Raw text -


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