www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/30/11:40:30

From: jeffdbREMOVETHIS AT goodnet DOT com (Mikey)
Subject: Re: structure packing/allingment
30 Apr 1998 11:40:30 -0700 :
Message-ID: <3549c11f.3744264.cygnus.cygwin32.developers@smtp.goodnet.com>
References: <9804300514 DOT AA10682 AT modi DOT xraylith DOT wisc DOT edu>
Reply-To: jeffdbREMOVETHIS AT goodnet DOT com
Mime-Version: 1.0
To: cygwin32-developers AT cygnus DOT com

No good #pragma pack(8) dosen't
work even with the change below, 
but the good news is that
apparently all the structs in the system
headers are wrapped by #pragma pack(8)
(at least all the ones I checked :)
so effectively the default packing IS 8 byte.

>It almost looks like you could just add
>case 8:
>to the switch statement in c-pragma.c
>unless the align wouldn't work.
>
>I'll give it a try.
>


=====================================================
Linux a platform built by, and for users, standing on
the firm legs of reliability, and speed.

Microsoft Windows, a platform without a leg to stand on.

(jeffdbREMOVETHIS AT goodnet DOT com)
delete REMOVETHIS from the above to reply
         Mikey

- Raw text -


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