From: Ming-Yen Hsu <myhsu@mail.sysnet.net.tw>
Subject: [Help]gcc ignored #pragma pack on DEC/OSF1 4.0B
Date: 1997/12/30 [thread overview]
Message-ID: <689ng7$ja2@news.seed.net.tw> (raw)
[ Article reposted from gnu.gcc.help ]
[ Author was Ming-Yen Hsu <myhsu@mail.sysnet.net.tw> ]
[ 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.
next reply other threads:[~1997-12-30 5:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-30 5:00 Ming-Yen Hsu [this message]
1997-12-30 5:00 ` [Help]gcc ignored #pragma pack on DEC/OSF1 4.0B Jeff Sullivan
1997-12-31 5:00 ` John Kohl
1998-01-05 5:00 ` Joe Mario
1998-01-06 5:00 ` Tim Mooney
1998-01-06 5:00 ` Kevin Jacobs
1998-01-08 5:00 ` Jeff Sullivan
1998-01-08 5:00 ` Jeff Sullivan
1998-01-13 5:00 ` Jeff Sullivan
1998-01-16 5:00 ` Tim Mooney
1998-01-05 5:00 ` Jeff Sullivan
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox