🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4089

Erroneous diagnostic from VOS 'C' compiler?

#4089
From: John Winters
Date: Fri, 22 Sep 1995 20:26
13 lines
659 bytes
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} ;

John
P.S.  It is perfectly happy with :

int another_array [2] = {1, 2} ;

-- 
John Winters.  Wallingford, Oxon, England.
Technical Details
Message-ID: <DFBq4o.FED@polo.demon.co.uk>
Path: arc1-ca.pugleaf.net!dispatch.news.demon.net!demon!polo!john

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!dispatch.news.demon.net!demon!polo!john
From: john@polo.demon.co.uk (John Winters)
Newsgroups: comp.std.c
Subject: Erroneous diagnostic from VOS 'C' compiler?
Date: Fri, 22 Sep 1995 20:26:48 GMT
Organization: Wallingford
Message-ID: <DFBq4o.FED@polo.demon.co.uk>
X-NNTP-Posting-Host: polo.demon.co.uk