🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4098

Re: Erroneous diagnostic from VOS 'C' compiler?

#4098
From: Clive D.W. Feather
Date: Sat, 23 Sep 1995 16:11
12 lines
982 bytes
In article <DFBq4o.FED@polo.demon.co.uk>,
John Winters <john@polo.demon.co.uk> wrote:
> The VOS (Stratus) 'C' compiler generates an error on encountering
> the following code and refuses to compile it, complaining that the
> curly brackets are superfluous.  Is it broken?
> int an_array [1] = {1} ;

If it claims to be ISO C conforming, then it's broken.
-- 
Clive D.W. Feather                       | If you lie to the compiler,
clive@demon.net        (work, preferred) | it will get its revenge.
clive@stdc.demon.co.uk (home)            |   - Henry Spencer
Technical Details
Message-ID: <DFD8zv.56s@stdc.demon.co.uk>
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
References: <DFBq4o.FED@polo.demon.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
From: clive@stdc.demon.co.uk (Clive D.W. Feather)
Newsgroups: comp.std.c
Subject: Re: Erroneous diagnostic from VOS 'C' compiler?
Date: Sat, 23 Sep 1995 16:11:54 GMT
Organization: Demon Internet Limited (personal account)
Message-ID: <DFD8zv.56s@stdc.demon.co.uk>
References: <DFBq4o.FED@polo.demon.co.uk>
Reply-To: clive@demon.net
X-NNTP-Posting-Host: stdc.demon.co.uk