From: svu AT mcr DOT spb DOT ru (Sergey Udaltsov) Subject: B19: -fpack-struct dows not work 2 Jul 1998 15:35:19 -0700 Message-ID: <000101bda5a2$876db1c0$0202a8c0.cygnus.gnu-win32@svu.pir.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit To: Dear sirs: We've tryed to compile the following lines using gcc: struct s { char c; long l; }; using option -fpack-struct. sizeof (s) returned 8. Is it right? When I added __attribute__ ((packed)), sizeof(s) became 5. So, for now the command-line option does not work the same way as struct attribute. Platform: CYGWIN32 B19 / NT4.0 Best regards, Sergey V. Udaltsov - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".