🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #1876

Re: Coding Standards are ignorant

#1876
From: Timothy Mooney
Date: Wed, 27 Mar 1996 04:05
36 lines
2138 bytes
In article <root.827268746@rscernix>, Dan Pop <danpop@mail.cern.ch> wrote:
>In <4ikptb$er8@golem.phys.ndsu.NoDak.edu> mooney@golem.phys.ndsu.NoDak.edu (Timothy Mooney) writes:
>
>>In article <4i829o$qbh@usenet.pa.dec.com>,
>>Norman Diamond <diamond@tbj.dec.com> wrote:
>>>In article <danpop.826543744@rscernix>, danpop@mail.cern.ch (Dan Pop) writes:
>>>>In <KANZE.96Mar8125719@gabi.gabi-soft.fr> kanze@gabi-soft.fr (J. Kanze) writes:
>>>>Does any of your compilers have a -iso option?  
>>>
>>>At least one compiler has a -std option.  That's the good news.  The bad news
>>>is that it's documented (if an online manual page is a document :-)  thus:
>>>     -std Produce errors for constructions that are not compatible with the
>>>          ANSI standard.
>>
>>DEC's cc for Digital Unix 3.2 has a -std option, and the man page does
>>mention the ISO standard.
>
>Does it?  Not as far as I can see on my Digital Unix 3.2 box:

You're not looking in the right spot (this is 3.2c):

$uname -s -r
OSF1 V3.2
$man cc | grep -i iso
  _ANSI_C_SOURCE   ISO C and ANSI C
  standard.  For strict ISO C and ANSI C conformance, the compiler command

Both references are earlier than the section on the arguments and their
meanings.

Tim
-- 
Tim Mooney                              mooney@toons.cc.ndsu.nodak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Bldg.                 (701) 231-8541 (FAX)
North Dakota State University, Fargo, ND 58105
Technical Details
Message-ID: <4jaeq4$9ig@golem.phys.ndsu.NoDak.edu>
Path: arc1-ca.pugleaf.net!golem.phys.ndsu.NoDak.edu!not-for-mail
References: <4gum82$14v4@info4.rus.uni-stuttgart.de> <4i829o$qbh@usenet.pa.dec.com> <4ikptb$er8@golem.phys.ndsu.NoDak.edu> <root.827268746@rscernix>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!golem.phys.ndsu.NoDak.edu!not-for-mail
From: mooney@golem.phys.ndsu.NoDak.edu (Timothy Mooney)
Newsgroups: gnu.misc.discuss,comp.std.c
Subject: Re: Coding Standards are ignorant
Date: 26 Mar 1996 22:05:24 -0600
Organization: North Dakota Higher Education Computing Network
Message-ID: <4jaeq4$9ig@golem.phys.ndsu.NoDak.edu>
References: <4gum82$14v4@info4.rus.uni-stuttgart.de> <4i829o$qbh@usenet.pa.dec.com> <4ikptb$er8@golem.phys.ndsu.NoDak.edu> <root.827268746@rscernix>
NNTP-Posting-Host: golem.phys.ndsu.nodak.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit