delorie.com/archives/browse.cgi | search |
Date: | Tue, 23 Sep 1997 20:29:48 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Fulco Bohle <minstrel AT xs4all DOT nl> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: #pragma pack(8) |
In-Reply-To: | <3427EF5F.3B85@xs4all.nl> |
Message-ID: | <Pine.SUN.3.91.970923202847.16407B-100000@is> |
MIME-Version: | 1.0 |
On Tue, 23 Sep 1997, Fulco Bohle wrote: > To implement OLE under win32 I need to pack structure elements > on a 8 bytes boundary. djgpp does support pack(0)..pack(4). However I > get > a compiler error when I use #pragma pack(8). Does anyone know how to > tackle this problem ? Did you try #pragma pack(3)? I think GCC treats the argument as a power of two. Or maybe I'm daydreaming, but it's worth trying anyway.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |