From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c818447ef81c263f X-Google-Attributes: gidfee84,public From: John Kohl Subject: Re: [Help]gcc ignored #pragma pack on DEC/OSF1 4.0B Date: 1997/12/31 Message-ID: <6c1zytk51r.fsf@dextrose.atria.com>#1/1 X-Deja-AN: 311638792 Sender: jtk@dextrose References: <689ng7$ja2@news.seed.net.tw> <34A918FF.EE41F28F@zk3.dec.com> X-Us-Snail: Rational Software Corp., 20 Maguire Road, Lexington, MA 02173-3104 Organization: Rational Software Corporation Newsgroups: comp.unix.osf.osf1 Jeff Sullivan writes: > You should try using the ANSI modes of the default compiler (DEC C) > to compile code with preprocessor directives not in column 1. You > may use either -std (relaxed ANSI) or -std1 (strict ANSI). > > That feature, and others are ANSI only and are not supported in the > common (or K&R mode) > .... > I think you will find that the default compiler (DEC C) in V4.0B is > much improved over gcc in both features and runtime performance. > See http://www.unix.digital.com/ for more info. > > If you have further questions, let me know. > Ok, you asked for it... (warning, flame-bait follows :) Why is -std1 not the default mode of operation (or at least -std)? C has been standardized for 8 years now, shouldn't the default mode of the compiler, without extra flags, be the standard behavior? Let those who still insist on non-standard K&R C provide the command line flag(s). -- John Kohl working for but not representing: Rational Software sometimes hacking on: NetBSD/i386 Filter annoying Web Ads! See