Date: Tue, 23 Sep 1997 20:29:48 +0300 (IDT) From: Eli Zaretskii To: Fulco Bohle cc: djgpp AT delorie DOT com Subject: Re: #pragma pack(8) In-Reply-To: <3427EF5F.3B85@xs4all.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.