🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #1877

Re: Coding Standards are ignorant

#1877
From: Dan Pop
Date: Wed, 27 Mar 1996 23:04
40 lines
1808 bytes
In <4jaeq4$9ig@golem.phys.ndsu.NoDak.edu> mooney@golem.phys.ndsu.NoDak.edu (Timothy Mooney) writes:

>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:
>>
>>>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.

Let's see:

ues5:~/tmp 20> uname -s -r
OSF1 V3.2
ues5:~/tmp 21> man cc | grep -i iso
ues5:~/tmp 22> 

Not all 3.2's are born equal :-)  (mine is 3.2a)

But I find the 3.2c man page confusing, because it talks about ISO C
and ANSI C as if they were two different standards and not two different
names for one and the same thing.

Dan
--
Dan Pop
CERN, CN Division
Email: danpop@mail.cern.ch 
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
Technical Details
Message-ID: <danpop.827967897@rscernix>
Path: arc1-ca.pugleaf.net!rcp6.elan.af.mil!rscernix!danpop
References: <4gum82$14v4@info4.rus.uni-stuttgart.de> <4i829o$qbh@usenet.pa.dec.com> <4ikptb$er8@golem.phys.ndsu.NoDak.edu> <root.827268746@rscernix> <4jaeq4$9ig@golem.phys.ndsu.NoDak.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!rcp6.elan.af.mil!rscernix!danpop
Newsgroups: gnu.misc.discuss,comp.std.c
Subject: Re: Coding Standards are ignorant
Message-ID: <danpop.827967897@rscernix>
From: danpop@mail.cern.ch (Dan Pop)
Date: 27 Mar 96 23:04:57 GMT
References: <4gum82$14v4@info4.rus.uni-stuttgart.de> <4i829o$qbh@usenet.pa.dec.com> 
 <4ikptb$er8@golem.phys.ndsu.NoDak.edu> <root.827268746@rscernix> <4jaeq4$9ig@golem.phys.ndsu.NoDak.edu>
Organization: CERN European Lab for Particle Physics
NNTP-Posting-Host: ues5.cern.ch
X-Newsreader: NN version 6.5.0 #7 (NOV)