From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c818447ef81c263f,start X-Google-Attributes: gidfee84,public From: Ming-Yen Hsu Subject: [Help]gcc ignored #pragma pack on DEC/OSF1 4.0B Date: 1997/12/30 Message-ID: <689ng7$ja2@news.seed.net.tw>#1/1 X-Deja-AN: 311203143 Sender: Ming-Yen Hsu Organization: SEEDNET InterNetNews News System Newsgroups: comp.unix.osf.osf1 [ Article reposted from gnu.gcc.help ] [ Author was Ming-Yen Hsu ] [ Posted on 29 Dec 1997 06:27:38 GMT ] Hi, I'm porting some programs to DEC/OSF1 4.0B these days. I chose gcc because the original C compiler ignored my directive (#ifdef, #else...) if '#' not in column 1. Unfortunatly, #pragma pack(1) didn't work and the size of structure defined by myself had aligned. Can anyone tell me how to solve this problem? Thanks in advanced! -- Ming-Yen Hsu, SYSTEX Corp.| The more we grow, the more we feel, Email:myhsu@cyberdude.com | the more we feel, the more we suffer. -- Ming-Yen Hsu, SYSTEX Corp.| The more we grow, the more we feel, Email:myhsu@cyberdude.com | the more we feel, the more we suffer.