🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2082

Re: A declarations without any declarators.

#2082
From: Norman Diamond
Date: Fri, 06 Nov 1992 11:13
19 lines
1372 bytes
In article <1992Nov6.013858.736@netcom.com> rfg@netcom.com (Ronald F. Guilmette) writes:
>Can we all agree that:
>	typedef float;
>... violates the first constraint in section 3.5?

I can agree, but ALL of us?  Good luck  :-)

>Good.  Now what about these odd looking declarations:
>	typedef struct S;
>	typedef enum { red, green, blue };
>It appears that these are standard conforming, yes?

Yup.  There's a famous line saying something like, rules that would prohibit
ugly code would also prohibit good code.  Now this raises the question of
why the first constraint in section 3.5 is there in the first place.
--
Norman Diamond       diamond@jit081.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
"It's been a lovely recession."
Technical Details
Message-ID: <BxAKJ8.Iu7@jrd.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!decuac!pa.dec.com!jrdzzz.jrd.dec.com!jit345.bad.jit.dec.com!diamond
References: <1992Nov6.013858.736@netcom.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!decuac!pa.dec.com!jrdzzz.jrd.dec.com!jit345.bad.jit.dec.com!diamond
From: diamond@jit345.bad.jit.dec.com (Norman Diamond)
Subject: Re: A declarations without any declarators.
Message-ID: <BxAKJ8.Iu7@jrd.dec.com>
Sender: usenet@jrd.dec.com (USENET News System)
Nntp-Posting-Host: jit345
Reply-To: diamond@jit.dec.com (Norman Diamond)
Organization: Digital Equipment Corporation Japan , Tokyo
References: <1992Nov6.013858.736@netcom.com>
Date: Fri, 6 Nov 1992 11:13:56 GMT
Lines: 19