Article View: comp.std.c
Article #4089Erroneous diagnostic from VOS 'C' compiler?
From: John Winters
Date: Fri, 22 Sep 1995 20:26
Date: Fri, 22 Sep 1995 20:26
13 lines
659 bytes
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!johnShow 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