Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: John Kohl <jtk@rational.com>
Subject: Re: [Help]gcc ignored #pragma pack on DEC/OSF1 4.0B
Date: 1997/12/31	[thread overview]
Message-ID: <6c1zytk51r.fsf@dextrose.atria.com> (raw)
In-Reply-To: 34A918FF.EE41F28F@zk3.dec.com


Jeff Sullivan <jps@zk3.dec.com> 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 <jtk@rational.com>
working for but not representing:	Rational Software
sometimes hacking on:			NetBSD/i386
Filter annoying Web Ads! See <URL:http://www.intermute.com/>




  reply	other threads:[~1997-12-31  5:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-30  5:00 [Help]gcc ignored #pragma pack on DEC/OSF1 4.0B Ming-Yen Hsu
1997-12-30  5:00 ` Jeff Sullivan
1997-12-31  5:00   ` John Kohl [this message]
1998-01-05  5:00     ` Jeff Sullivan
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
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