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

From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: structures size
Date: Sat, 06 May 2000 01:21:07 +0400
Organization: MTU-Intel ISP
Lines: 25
Message-ID: <39133B43.5BC03E9@mtu-net.ru>
References: <Pine DOT A41 DOT 4 DOT 05 DOT 10005041827250 DOT 48816-100000 AT ieva05 DOT lanet DOT lv> <3911D576 DOT 947D53CF AT mtu-net DOT ru> <3913074E DOT 9405129F AT bigfoot DOT com>
NNTP-Posting-Host: ppp102-76.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 957561729 50895 212.188.102.76 (5 May 2000 21:22:09 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 5 May 2000 21:22:09 GMT
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: en,ru
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Richard Dawe wrote:
> 
> Hello.
> 
> "Alexei A. Frounze" wrote:
> > Btw, isn't the following better than yours:
> >
> > ----------8<----------
> > #pragma pack (push, 1)
> >
> > // structure definitions
> >
> > #pragma pack (pop)
> > ----------8<----------
> 
> Is it better because you can nest packing pragmas this way?

Yup. This was the idea I have in mind. Seems to be a bit better. Right?

bye.
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

- Raw text -


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