Date: Wed, 18 Apr 2001 17:31:55 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Waldemar Schultz cc: djgpp AT delorie DOT com Subject: Re: MINGW vs DJGPP In-Reply-To: <3ADD8755.71826091@ma.tum.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 18 Apr 2001, Waldemar Schultz wrote: > sorry for replying to my own post. > I used gcc 2.95.3(20010315) and got these confusing results: > > Compiler switch reported size of struct vp > djgpp gcc 2.95.2 -fpack-struct 80 eighty > djgpp gcc 2.95.3 -fpack-struct 79 seventynine > mingw gcc 2.95.2 -fpack-struct 79 seventynine > djgpp gcc 2.95.2 80 eighty > djgpp gcc 2.95.3 80 eighty > mingw gcc 2.95.2 88 eightyeight > > when manually added, the sum of the sizes of the struct members is _79_ So it looks like -fpack-struct does work, at least in 2.95.3.